ScatterChart line won't show with datatable of 3 columns but it does with 2

25 views
Skip to first unread message

Ambientson

unread,
Nov 18, 2012, 5:33:42 PM11/18/12
to google-visua...@googlegroups.com
Hello,

I had a scatterchart graph that worked perfectly well, including the line that connects the points, when the datatable had 2 columns (x and y). I had to add a new series to the datatable so it  now has 3 columns (x, y1 and y2). The line connecting the data points has disappeared and I can't seem to get it back. I tried specifying lineWidth for the entire graph, I tried lineWidth for each series but to no avail...


Would anybody know what's happening?

Thanks.

asgallant

unread,
Nov 18, 2012, 8:31:44 PM11/18/12
to google-visua...@googlegroups.com
The null values in between data points are throwing it off.  Either set the "interpolateNulls" option to true or sort the data so that no two adjacent points have a null in between them in the data set.

asgallant

unread,
Nov 18, 2012, 8:32:13 PM11/18/12
to google-visua...@googlegroups.com

Ambientson

unread,
Nov 19, 2012, 12:57:42 AM11/19/12
to google-visua...@googlegroups.com
Works like a charm. Many thanks!

By the way, I'm really amazed at how quickly you respond... and always with an answer. You're the man. Cheers.

asgallant

unread,
Nov 19, 2012, 2:40:16 AM11/19/12
to google-visua...@googlegroups.com
You're welcome.
Reply all
Reply to author
Forward
0 new messages