The Prototype framework is known to interfere with the Google Visualization
API. If memory serves, the problem either was fixed in a recent version or
is fixed in a RC version of Prototype, so I would suggest upgrading
Prototype if you are on an older version or trying out the release
candidates if you are on version 1.7.1 already.
On Sunday, October 13, 2013 6:08:38 PM UTC-4, Danny Oosterveer wrote:
>
> Hi there,
>
> For the last couple of days I've been wondering why the GeoCharts on my
> site won't work. All other charts (LineChart, Table, ColumnChart, BarChart)
> work like a charm, it's just the GeoChart which gives the following error:
>
> 'undefined' is not a function (evaluating 'this.each(function(value,
> index) { results.push(iterator.call(context, value, index)); })')×
>
> I even copied the example from the Google Visualization Playground and I
> still got this error. So it seemed like a site issue. I then started
> stripping content from my site and discovered that when I stripped the
> javascript file from the Prototype framework
> <http://prototypejs.org>everything does work.
>
> The page *with* Prototype JS:
> http://jsfiddle.net/mmzbZ/1/
>
> The page *without* Prototype JS:
> http://jsfiddle.net/mmzbZ/2/
>
--
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.
For more options, visit https://groups.google.com/groups/opt_out.