let me explain ... year 2000 has 3 values and year 2001 has 4 values and year 2003 has 5 values ..
but the 2000, 2001 , and 2002 are plotted at equi -distant advancethx lavanya On Mon, May 16, 2011 at 6:05 PM, asgallant <[email protected]>wrote: > If I understand you correctly, you want your axis to look something like > this: > > > ---|-----------|-----------|-----------|-----------|-----------|-----------| > 2000 2000 2001 2001 2001 2003 2003 > > If so, set your axis column up to take strings instead of numbers: > > // data is the data table object > > data.addColumn("string", "Year"); > data.addColumn("number", "value"); > > data.addRow(["2000", 34]); // <--- note the quotes around 2000 > data.addRow(["2000", 34]); > data.addRow(["2001", 56]); > data.addRow(["2001", 34]); > data.addRow(["2001", 23]); > data.addRow(["2003", 77]); > data.addRow(["2003", 90]); > > -- > 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. > -- Thanks & Regards, Durga Lavanya. -- 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.
