multiple series in a scatter plot

679 views
Skip to first unread message

Emily Yount

unread,
May 11, 2012, 1:49:06 PM5/11/12
to google-visua...@googlegroups.com
I'm trying to plot 12 series of data on one scatter plot. I've found examples of multiple series, but only with 1 x value column and 2 y value columns. Is it possible to have 12 x value columns and 12 y value columns? Is that even the way to go about doing it?

I tried to avoid the series issue by plotting them all together and then using an array for the color field, but it wouldn't accept my array of colors. 

asgallant

unread,
May 11, 2012, 2:05:44 PM5/11/12
to google-visua...@googlegroups.com
Scatter charts just draw X,Y pairs, with series defined by differentiating the Y values into different columns.  Nothing requires that each series have a point for every X value, however, so there is no need to have multiple X axis series.

Emily Yount

unread,
May 11, 2012, 2:15:28 PM5/11/12
to google-visua...@googlegroups.com
Okay. Yeah, I just played with the example in code playground and it's making more sense. 

Thanks! 

Emily Yount

unread,
May 11, 2012, 5:11:15 PM5/11/12
to google-visua...@googlegroups.com
Is there a way to handle series that don't the same number of data points. I keep running across the error "Row given with size different then 13, the number of columns in the table"

Emily Yount

unread,
May 11, 2012, 7:18:36 PM5/11/12
to google-visua...@googlegroups.com
"null" works as a placeholder.
Reply all
Reply to author
Forward
0 new messages