Reputation: 1748
How to set the precision on the calculated percentage in fusion pie charts.
My pie chart attributes as
xmlData.Append("<chart showValues='1' formatNumber='1' showBorder='0' bgColor='FFFFFF' manageLabelOverflow='1' formatNumberScale='0'>");
foreach (DataRow drRecord in dataResult.Tables[0].Rows)
{
xmlData.Append("<set label='" + drRecord["Analyze"].ToString() + "' value='" + drRecord["BSLN_RVN"].ToString() + "' />");
}
I tried adding decimalPrecision = '1'. It changes both the percentage value and the value in the chart to single decimal precision. Is there any property to set the precision only to the calculated percentage in pie charts..
Upvotes: 1
Views: 692
Reputation: 12447
You could provide the raw value in the toolText='text_here'
attribute.
It is explained very well in the FusionCharts Documentation.
Upvotes: 1