# pie chart question

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Hi Im using pie chart from fusioncharts, everything is working fine but there is something i dont like, i want to choose either to display percentages or nor. when i create the data i only send the description and values like in this example:

PieModel piemodel = new SimplePieModel();
piemodel.setValue("C/C++", new Double(12.5));
piemodel.setValue("Java", new Double(50.2));
piemodel.setValue("VB", new Double(20.5));
piemodel.setValue("PHP", new Double(15.5));


But it doesnt display the 12.5, 50.2, etc. It makes a sum and display the percentage that correspond to each value from the total of 98.7 = 100%

here is my zul:

<fusionchart id="mychart4" title="Total Tickets" type="pie" threeD="true" width="400" height="300" />


I only want to display the values can someone help me?

delete retag edit

Thanks for sharing

( 2013-02-12 10:33:57 +0800 )edit
Be the first one to answer this question!
[hide preview]