Re: showing incorrect pie chart when one of the pie slice count becomes large.

46 views
Skip to first unread message

asgallant

unread,
Jun 18, 2012, 11:00:49 AM6/18/12
to google-visua...@googlegroups.com
That's not a bug.  By default, the charts only draw slices that are larger than one-half degree (1/720th of the total), all other slices are grouped together in the "other" category.  If you want to change this behavior, the "sliceVisibilityThreshold" option defines the smallest proportion of the total pie that will be drawn as a separate slice.  See it in action: http://jsfiddle.net/asgallant/6PHnz/ 

On Friday, June 15, 2012 5:47:32 PM UTC-4, Nikhil Srivastava wrote:
Please help me , 
I have integrated google-visualisation for creating pie charts in my projects , things went fine  .But of-late we found a serious bug in the pie chart implementation.
Please resolve this issue and help me.

I have attached the two html files , both are almost similar , the only difference is that in first (correct.html) this is ['Mushrooms', 3], while in the secont ( incorrect.html) there is  ['Mushrooms', 1374], 

I felt surprised to see the strange behaviour of the pie just by increasing the data count . :(

Please assist.
Reply all
Reply to author
Forward
0 new messages