Google visualization: display data points

I am wondering if there is a way to keep the points visible for each data point in a line chart. The default behavior is that the point the point appears only at the data point (along with the current collector) when you hover over it. I would like data point points to be visible by default. Is there a way I can do this?

+4
source share
2 answers

The pointSize attribute pointSize responsible for the size of the point. So, something like chart.draw(data, {pointSize: 1}) should make the default points visible. (The default value is size 0.)

Hope this helps!

+16
source

You can use pointSize options. The default value is 0, which hides data points. Set it according to the size of the point you want. Something like pointSize: 4 is a good choice.

0
source

All Articles