I had the same issue.  I ended up adding a tiny value (like .00005) to
all zero values.  Since the Pie Chart rounds the values, they show as
zero.  It's a weird workaround, but it solved my issue.

On Nov 23, 5:33 pm, peted <[email protected]> wrote:
> Hello,
> I am having an issue with the pieChart visualization.
>
> Basically, I am using the chart to display four types of emotion, 1)
> positive, 2) negative, 3) neutral, and 4)mixed -- always in that
> order.
> Sometimes there are 0 values for a particular sentiment.  i.e. there
> are 10 for positive, 0 negative, 3 for neutral and 2 for mixed.
>
> My issue is:that the pieChart will not correctly skip values with 0's.
> Rather, it will get the next value and display the that value for the
> wrong color.
>
> So in regards to the example:
> there are 10 for positive, 0 negative, 3 for neutral and 2 for mixed.
>
> The pie chart will display 10 for positive, 3 for negative, 2 for
> neutral and 0 for mixed.
>
> Has anyone had any experience with this?
>
> Thanks in advance!

--

You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.


Reply via email to