Hi,
I need help with a chart I'm attempting to create. The idea is that each
user will have their own series (so they show up on the legend), and that
user has an x and a y (scatter chart), but also Time value and then their
tooltip, and style column.
So this works for one series:
X, Y, Time, Tooltip, Style
But how do I get that to work for multiple series?
Rough example code for one series (example data):
var data = new google.visualization.DataTable(
{
cols: [
{label: "X", type: "number"},
{label: "User Name", type: "number"},
{label: "Time", type: "number"},
{label: "Tooltip", type:"string", p:{role:"tooltip"}},
{label: "Colour", type:"string", p:{role:"style"}},';
],
rows: [
{v: 123}, {v: 123}, {v:60}, {v: "Tooltip text"}, {v: "point {size: 3;
opacity: 1; fill-color:#ffffff;}"}
]});
So how do I get this to work for multiple users?
There is also a NumberRangeFilter which scales the time number, for the 3rd
column.
Just to clarify, this all works for one series - I would just like multiple.
Thank you in advance!
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/7ccfbb8e-b89e-4f3f-9d94-e14e909617db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.