Pie chart rounding total 101
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Pie chart rounding total 101 Expand / Collapse
Author
Message
Posted 4/16/2008 5:16:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/20/2008 3:35:06 AM
Posts: 5, Visits: 11
Hi

While using 2D Pie chart, total of slices goes 101%. Values generated on chart are : 84%, 7%, 5%, 4%, 1%
Below is the XML data passed to chart. Any help appreciated.

"
chart caption='' alternateRowBgColor='' showValues='0' showBorder='0' numberPrefix='£' decimals='0' startingAngle='' baseFontSize='10' shadowAlpha='30' slicingDistance='2' showXAxisValues='' showPercentageValues='' bgColor='ffffff' SmartLineColor='' showLabels='0'
set label='' value='50093' Color='11aee1' isSliced='1'
set label='' value='39932' Color='' isSliced='1'
set label='' value='9463' Color='d31048' isSliced='1'
set label='' value='900631' Color='b5d33d' isSliced='1'
set label='' value='74296' Color='58009a' isSliced='1'
set label='' value='0' Color='aaaaaa' isSliced='1'
chart"


Thanks in advanced.

Post #5678
Posted 4/16/2008 8:49:32 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 1:21:47 AM
Posts: 675, Visits: 1,079
Hi,

Could you please set decimals='4' and try adding up the percent values again?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5697
Posted 4/18/2008 6:00:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/20/2008 3:35:06 AM
Posts: 5, Visits: 11
Thanks .

By setting decimal to 1, now it works out correct.

Post #5760
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 12:04am


Execution: 0.063.