Sign in to follow this  
jaideep

tooltext changed when upgraded to version 3.1 of Fusion charts

Recommended Posts

Hi,

 

I see a change in the toolText when we upgraded charts to version 3.1.

 

Specifically for the multi-series charts like MSColumn2D.swf,MSColumn3D.swf etc, the tooltip used to include the series name, now it does not. This changes the default behavior.

 

Could you please suggest a way to get those values to display the way they used to? Please advise.

 

 

 

thanks,

 

Jaideep

 

LogiXML.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Jaideep,

Could you please send us the XML codes that you are using?

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi,

Thanks for the response.

Here is the xml file that we use with the chart -

- <graph showFCMenuItem="0" animation="1" Caption="Employee Sales By Year" bgColor="FFFFFF" showNames="1" numberPrefix="" chartLeftMargin="" chartRightMargin="" chartTopMargin="" chartBottomMargin="" showBorder="0" unescapeLinks="0" imageSave="1" imageSaveURL="rdTemplate/rdAnimatedChart/FCExporter.aspx" yaxisname="Sales" xaxisname="Employee" rotateNames="1" canvasBgColor="FFFFFF" divLineColor="000000" showValues="0" rotateValues="1" useRoundEdges="1" lineDashed="0">
- <styles>
- <definition>
  <style name="DataLabelsFontStyle" type="font" font="" size="" color="000000" />
  </definition>
- <application>
  <apply toObject="DataLabels" styles="DataLabelsFontStyle" />
  </application>
  </styles>
- <categories>
  <category name="Fuller" />
  <category name="King" />
  <category name="Callahan" />
  <category name="Buchanan" />
  <category name="Davolio" />
  <category name="Leverling" />
  <category name="Peacock" />
  <category name="Suyama" />
  <category name="Dodsworth" />
  </categories>
- <dataset color="FF0000" seriesName="1998" showValues="0" alpha="100">
  <set value="74336.55" />
  <set value="48864.88" />
  <set value="48589.55" />
  <set value="19691.90" />
  <set value="63195.00" />
  <set value="76562.74" />
  <set value="54135.94" />
  <set value="14144.16" />
  <set value="41103.16" />
  </dataset>
- <dataset color="008000" seriesName="1997" alpha="100" showValues="0">
  <set value="70444.14" />
  <set value="60471.19" />
  <set value="56032.62" />
  <set value="30716.47" />
  <set value="93148.09" />
  <set value="108026.14" />
  <set value="128809.79" />
  <set value="43126.37" />
  <set value="26310.39" />
  </dataset>
- <dataset color="0000FF" seriesName="1996" alpha="100" showValues="0">
  <set value="21757.06" />
  <set value="15232.16" />
  <set value="22240.12" />
  <set value="18383.92" />
  <set value="35764.51" />
  <set value="18223.96" />
  <set value="49945.12" />
  <set value="16642.61" />
  <set value="9894.52" />
  </dataset>
  <trendlines />
  </graph>
 
In this example, the tooltip no longer includes the series name (like 1997,1998 etc).
thanks,
Jaideep.
Edited by Guest

Share this post


Link to post
Share on other sites

Thanks for the reply.

This xml file seems similar to the one i posted, the only change seems to be the <graph> root element is replaced by the <chart> root element. Am i missing any other change you might have done?

Also, aren't <graph> and <chart> interchangeable ? Please let me know.

thanks,

Jaideep.

Share this post


Link to post
Share on other sites

Hi Jaideep,

You are welcome. :)

Also, aren't <graph> and <chart> interchangeable ? Please let me know.

We use <graph> element as the root elemnt for FusionCharts Free and <chart> element for FusionCharts v3.1.1.

Also, the attribute "label" in FusionCharts v3.1.1 is termed as the attribute "name" in FusionCharts Free.

Please refer to the following links for the online documentations for the basic differences between FusionCharts Free and FusionCharts v3.1.1 respectively:

Ref.- http://www.fusioncharts.com/free/docs/

  http://www.fusioncharts.com/docs/

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi,

I am still not able to produce the series name in the tooltip, i have attached the .swf file(renamed to MSColumn2d.txt to attach) that i am using along with the xml that i had provided.

I did make the 2 changes that you suggested (that of changing graph to chart, and name to label). Also, i wanted to add that we had upgraded from a previous paid version to this one, and not from a free one, and the xml worked fine with the previous one.

I am also attaching the new xml that i am using, so that you have both the .swf and the xml data to look into this further.

<?xml version="1.0" encoding="utf-8" ?>

- <chart Caption="Employee Sales By Year" showFCMenuItem="0" animation="1" bgColor="FFFFFF" showNames="1" numberPrefix="" chartLeftMargin="" chartRightMargin="" chartTopMargin="" chartBottomMargin="" showBorder="0" unescapeLinks="0" imageSave="1" imageSaveURL="rdTemplate/rdAnimatedChart/FCExporter.aspx" yaxisname="Sales" xaxisname="Employee" rotateNames="1" canvasBgColor="FFFFFF" divLineColor="000000" showValues="0" rotateValues="1" useRoundEdges="1" lineDashed="0" >
- <styles>
- <definition>
  <style name="DataLabelsFontStyle" type="font" font="" size="" color="000000" />
  </definition>
- <application>
  <apply toObject="DataLabels" styles="DataLabelsFontStyle" />
  </application>
  </styles>
- <categories>
  <category label="Fuller" />
  <category label="King" />
  <category label="Callahan" />
  <category label="Buchanan" />
  <category label="Davolio" />
  <category label="Leverling" />
  <category label="Peacock" />
  <category label="Suyama" />
  <category label="Dodsworth" />
  </categories>
- <dataset color="FF0000" seriesName="1998" showValues="0" alpha="100">
  <set value="74336.55" />
  <set value="48864.88" />
  <set value="48589.55" />
  <set value="19691.90" />
  <set value="63195.00" />
  <set value="76562.74" />
  <set value="54135.94" />
  <set value="14144.16" />
  <set value="41103.16" />
  </dataset>
- <dataset color="008000" seriesName="1997" alpha="100" showValues="0">
  <set value="70444.14" />
  <set value="60471.19" />
  <set value="56032.62" />
  <set value="30716.47" />
  <set value="93148.09" />
  <set value="108026.14" />
  <set value="128809.79" />
  <set value="43126.37" />
  <set value="26310.39" />
  </dataset>
- <dataset color="0000FF" seriesName="1996" alpha="100" showValues="0">
  <set value="21757.06" />
  <set value="15232.16" />
  <set value="22240.12" />
  <set value="18383.92" />
  <set value="35764.51" />
  <set value="18223.96" />
  <set value="49945.12" />
  <set value="16642.61" />
  <set value="9894.52" />
  </dataset>
  <trendlines />
  </chart>

thanks,

Jaideep.

MSColumn2D.txt

Share this post


Link to post
Share on other sites

Hi Jaideep,

Could you please try setting the attribute "seriesNameInToolTip" to "1" in the <chart> element?

In case this does not help, please enable the "Debug Mode" in the HTML and send us the screenshot of the page.

 

Ref.- var chart = new FusionCharts("MSColumn2D.swf", "ChartId", "700", "450", "1", "0");

Looking forward to your feedback on the same.

Share this post


Link to post
Share on other sites

Hi Jaideep,

I am afraid, FusionCharts v3.1.0 does not support the dispaly of the series name in tooltip. :)

This bug was fixed in the upgraded version, i.e, FusionCharts v3.1.1.

Could you please download the trial version of FusionCharts v3.1.1 to solve the purpose?

Please refer to the following link for the download purpose:

Ref.- http://www.fusioncharts.com/Download.asp

Hope this helps. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this