Sign in to follow this  
GTGeek88

Hover Text Does Not Match Labels

Recommended Posts

I have a chart where the hover text does not match the callout labels. You'd think that'd be pretty much impossible, since they should both pull the data from the XML file. Take a look at the attached screen shot. Can someone tell me what might be causing this?

post-10600-036553800 1293072193_thumb.png

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please send us the details of the browser and FusionCharts version you are using?

 

It will be helpful, if you could send us the code also.

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites

version 3.2.1-release

IE 8

 

Here is the XML file:

 


<chart caption='Scholars Fields of Study' showBorder='1' pieYScale='60' pieRadius='180' numberSuffix='%' exportEnabled='1' exportAtClient='0' exportAction='save' exportHandler='http://localhost/dsp/FusionCharts/ExportHandlers/ASP.NET/FCExporter.aspx' exportFileName='Pg1_33V0MIO5Q'>
  <set label='Business & Mgt.' value='6.47' />
  <set label='Education' value='5.59' />
  <set label='Engineering' value='7.65' />
  <set label='Health Professions' value='5' />
  <set label='Humanities' value='15.59' />
  <set label='Math' value='3.24' />
  <set label='Science & Technology' value='21.18' />
  <set label='Social & Behavioral Sciences' value='24.41' />
</chart>

 

Here is the code in the HTML file (the setXMLUrl reference points to the file above)

 

<div id="chartContainer">FusionCharts will load here!</div>          
<script type="text/javascript">
  var myChart = new FusionCharts( "FusionCharts/Pie3D.swf", 
  "myChartId", "750", "400", "0", "1" );
  myChart.setXMLUrl("http://localhost/dsp/_33V0MIO5R.XML>");
  myChart.render("chartContainer");
</script>      

Share this post


Link to post
Share on other sites

Hi

 

By default, FusionCharts calculates the percent from the values provided. Since you are already giving percent values, please use showPercentInToolTip='0' to disable showing percentage ( of the already percent ) value in tooltip.

 

Hope this helps. :)

 

Srividya Sharma

Share this post


Link to post
Share on other sites

Would it be better to be able to flag that the numbers provided are already calculated percents and FusionCharts should not try to assume the numbers are some part of a total that should be calculated to display a percent? That would seem like a feature I'd want.

Edited by GTGeek88

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