serbrech

Members
  • Content count

    11
  • Joined

  • Last visited

About serbrech

  • Rank
    Junior Member
  1. Truncate Percentage In Pie Charts Tooltips

    should read : "I understand that I can set the tooltext manually,..."
  2. Truncate Percentage In Pie Charts Tooltips

    Here is the XML i use : <chart caption="Channels" decimals="1" showLegend="1" xAxisName="Utvalg" bgcolor="FCFCFC" yAxisName="Antall treff" useRoundEdges="1" labelDisplay="WRAP" chartRightMargin="20" formatNumberScale="0" formatNumber="0" decimalPrecision="0"> <set name="Media" value="1513" /> <set name="Governmental" value="7" /> <set name="Corporations" value="117" /> <set name="Organisations & Associations" value="24" /> <set name="Press Releases" value="492" /> <set name="Forums" value="55" /> <set name="Blogs" value="21" /> </chart> As you see I use plain values. the pie charts shows those same value on the graph, and that's good it also shows the percentage on the tooltip, and that's even better. but those percentage have 8 decimals (as you can see on the attached image 3 replies above) and that is terrible. so is there a way to set the precision of the percentage that the graph calculates. I understand that I set the tooltext manually, BUT THIS IS NOT WHAT I ASK. my question is can i set the precision on the calculated percentage. And if not, could this be added to the product backlog?
  3. Truncate Percentage In Pie Charts Tooltips

    So you mean if I want the percentage to be truncated I need to do it by myself? you provide a decimals attribute for the other number, how hard would it be to have it on percentage, where is makes actually more sense. I consider this as a bug. Why would I ever want 10 decimals on the default calculated percentage? I do not want to set the tooltip manually, I give a number and the pie chart automatically put percentage in the tooltip. All I want is to tell the precision. My initial question was quite easy : Is it possible? yes, no? Do you see that this is indeed a bug because it will in 90% of the case not be what the user expects? Is there some technical people who can answer this?
  4. Truncate Percentage In Pie Charts Tooltips

    No you didn't understand what I mean. I do have percentage. percentages of each slice are calculated by fusioncharts and are used by default in the tooltip. I just want to truncate this percentage because It's useless the way it is. I can't show that to the users. It just doesn't make sense. See attached image
  5. Is it possible to truncate the percentage in the tooltip of the pie charts? setting "decimals" attribute on the chart element has no effect on the percentage in the tooltips. Stéphane
  6. Why not using by default the width and the height from the container. They are very easily accessible by this.height() and this.width within the jquery plugin. It might take some more calculation to take into account the padding from the container though. Stephane