Pie chart slices not scaling properly

49 views
Skip to first unread message

oks...@gmail.com

unread,
Feb 15, 2013, 5:13:55 AM2/15/13
to google-visua...@googlegroups.com
Hi
 
I am using the following code
 
 
 
to generate a pie chart. If you copy and paste this into a browser you get the chart but clearly the pie slices are not correctly shown. i.e. they all look around 25% when the data is 33522/31680 oor around 35% each and then for type 4 data=1643.4 or approx 2% then pie slice is the same size and the rest.
 
What is wrong with my code?
 
Thanks
 
Nick
 

 

 
 

oks...@gmail.com

unread,
Feb 15, 2013, 6:28:51 AM2/15/13
to google-visua...@googlegroups.com
Hmmm....seem to have "accidently" solved this by dividing all the numbers by 1000 - then it works. So have no idea why the largish number are not handled by the chart routine - seems odd to me.
 
 
 

Thomas Rybka

unread,
Feb 19, 2013, 11:09:00 AM2/19/13
to google-visua...@googlegroups.com

Thomas Rybka | Software Engineer | try...@google.com | GViz


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages