How to plot multiple series with different time values one the same line chart?

11 views
Skip to first unread message

Julien Ricard

unread,
Oct 13, 2016, 12:40:38 PM10/13/16
to Google Visualization API
Hi,

I have a set of items with the following values: [username (string), score (number), date (datetime), comment (string)].

e.g.
['joe', 0.3, 5/5/16, "bla"]
['joe', 0.6, 6/5/16, "bli"]
['jim', 0.4, 6/5/16, "blo"]
['jim', 0.7, 7/5/16, "blu"]

I want to plot one line for each username (I'll have more than 2) on the same line chart, with the date as the horizontal axis and the score on the vertical axis, with a different color for each line.

Something like the "multiple line types" example on the doc here, but with more than more than two lines and different time values.

I could not find how to it with Google Graph. Anybody can help / point me to some doc?

Thanks you
Julien


Reply all
Reply to author
Forward
0 new messages