If adding the index column as first column yields the result you want.
that's great. Assuming it is, also try changing the type of the new first
column to string and fill it with empty strings. This applies to the second
example ("I do not want domain axis values") in the
link<http://code.google.com/apis/chart/interactive/docs/customizing_axes.html#Help>you
mentioned. Note that if you use continuous domain axis, the values of
the first column should be sorted (not sure we mentioned that anywhere, if
not, it's our bug), but from what I understand, you want discrete axis.Please consider carefully the type of the first column<http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html#Data_Format>. It matters. In the past only string was allowed in the first column, and now all types are allowed. Your data used number as first column type, so it used an undocumented feature. That feature is now gone, which caused you the problem you encountered. On Sat, Jan 21, 2012 at 8:09 PM, Kenny Wyland <[email protected]> wrote: > I figured out how to fix it: > > I had to add another column as the 1st data value which was the Domain > (x) value instead of all being Range (y) values. > > [0,112.799,93.8,8.099,10.9], > [1,138.78,84,41.93,12.85], > [2,134.466,91,33.026,10.44], > So I added a first column which, for me, is just a counter from 0 to > n. > > I also changed the javascript to add another column definition for the > Domain column. > > -- > 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. > > -- 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.
