Wow, Daniel. I'd have never even thought about adding that prototype 
function caused the problem. I know made the shuffle function independent 
from the Array prototype and everything's working again the way intended.

Thx for that insight. And for the solution. Pies are working for me again.

Best David

Hi David,
>
> This appears to be a problem with the labeled legend feature.  If you turn 
> that off, I bet your chart will at least work again.  
>
> If the only thing that changed is your data, then it would be good to grab 
> a copy of the data that causes this problem.  I tried to reproduce the 
> problem using your data and options here:  
> http://jsfiddle.net/dlaliberte/zwfykqap/ but it works fine in this 
> situation.
>
> Ah, I see the problem.  The property 'shuffle' has been added to the Array 
> prototype, and that causes confusion in the labeled legend code when 
> iterating over the properties of an array.  The addition of the 'shuffle' 
> property appears to be happening in https://individual8.com/min/g=js 
> perhaps as an update to that code.  Modifying the prototype of Array or 
> other classes in the JavaScript environment is generally considered a bad 
> practice.  Though it is possible for us to work around such problems (and 
> we will probably do that), more problems similar to this are likely to 
> arise.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/843ae094-d645-4e64-88d5-ad4ad6daf4c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to