I'm wondering about an example here:
https://developers.google.com/chart/interactive/docs/points
It's the one that has all the points on the graph as circles except on is a
large star. The data table is constructed like this:
var data = google.visualization.arrayToDataTable
([['X', 'Y', {'type': 'string', 'role': 'style'}],
[1, 3, null],
[2, 2.5, null],
[3, 3, null],
[4, 4, null],
[5, 4, null],
[6, 3, 'point { size: 18; shape-type: star; fill-color: #a52714'],
[7, 2.5, null],
[8, 3, null]
]);
Does anybody know how to create that equivalent table using addRows and setCell
(and or setProperty)?
I don't know how to set that one individual style to a star.
The reason I'm asking is that I need to make a LineChart that has multiple data
series (multiple lines) some some of the points having different styles
depending on the type of data.
Each line would have different point styles and within those lines certain
points would have still different styles.
Is this possible?
Thanks.
--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.