uncaught exception: All series on a given axis must be of the same
data type
i use:
data.addColumn('string', 'Country');
data.addColumn('string', 'City');
data.addColumn('number', 'Visits');
and i try to use the ColumnChart.
please help i have no idea what is wrong.
by the way, i tried PieChart and i get no errors but no chart too.
With column charts (and bar, line, area, scatter, pie - pretty much all charts except tables), only the first data column can be of type 'string'.
--To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/906yZBoMHt0J.
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
I would dearly like to know how to overcome this.I have a spreadsheet here:which gives the error on a scatter chart: "All series on a given axis must be of the same data type"I have shared the fileDick