If we pass the decimal value to the series, the same value should be displayed in the legend and the segment of pie chart. Instead it displays like 5.30,3.50,2.50,7.50,1.70 .
It seems the value "0" is appended to each value of series array.
function draw() {
Chart1=new Tee.Chart("canvas");
Chart1.addSeries(new Tee.Pie([5.3,3.5,2.5,7.5,1.7],['Sun','Mon','Tue','Wed','Thu']) );
Chart1.draw();
}
Is there any way to fix this for decimal values?
Round the decimal value problem
Re: Round the decimal value problem
Hello,
Yes, you can change the decimals property for that series:
Yes, you can change the decimals property for that series:
Code: Select all
Chart1.series.items[0].decimals = 1;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Round the decimal value problem
Thanks. It is working now as expected.