Setting the line color from the JSON data

15 views
Skip to first unread message

Pieter De Wit

unread,
Jan 22, 2019, 2:45:28 PM1/22/19
to Google Visualization API
Hi Everyone,

I am loading a line chart and would like to change the color used to draw the line based on the value of the data. I would prefer if this is done in the JSON dataset that is returned, but if I have to implement this in the JS then so be it. I have tried adding the "p" array to the data but this has no impact.

Thanks,

Pieter
Reply all
Reply to author
Forward
0 new messages