1

pie chart question

asked 2013-02-11 18:51:25 +0800

this post is marked as community wiki

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

updated 2013-02-12 10:46:41 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

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 flag offensive retag edit

Comments

Thanks for sharing

rethu ( 2013-02-12 10:33:57 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-02-11 18:51:25 +0800

Seen: 12 times

Last updated: Feb 12 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More