I'm not sure why, but your spreadsheet is returning numbers as strings. Using a DataView with calculated columns that parse the strings into numbers fixes the problem: http://jsfiddle.net/asgallant/tnuuk/ (in the example, I use the "view" property of the ChartWrapper, but a DataView does the same thing).
On Friday, July 20, 2012 4:15:33 AM UTC-4, Dick Newell wrote: > > I would dearly like to know how to overcome this. > I have a spreadsheet here: > > https://docs.google.com/spreadsheet/ccc?key=0Avfx9kYNkQnldGNWbFNNalJzY3ZmM3BDWmExYmNuOHc#gid=0 > 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 file > Dick > > On Tuesday, April 10, 2012 3:11:46 PM UTC+1, asgallant wrote: >> >> Can you post your code or a link to the page so we can examine it? >> >> On Tuesday, April 10, 2012 8:19:05 AM UTC-4, Mike Bucaro wrote: >>> >>> Same issue here, x-axis is date, all other columns are numbers. Graph >>> comes up fine in spreadsheet but gives the same error on google sites until >>> you refresh sometimes multiple times: All series on a given axis must be of >>> same data type. >>> >>> On Thursday, December 15, 2011 1:50:19 AM UTC-5, EZChart wrote: >>>> >>>> See >>>> http://code.google.com/apis/chart/interactive/docs/gallery/columnchart.html#Data_Format >>>> for >>>> details on the data format. >>>> >>>> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/kMKo7E_Tc-wJ. 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.
