I’m wondering how to set axis step in a google chart built from JavaScript?
I use this to set min and max:
vAxis: {
title: 'temps (ms)',
viewWindowMode: 'explicit',
viewWindow: {
max: 180,
min: 0
},
}
And I need to add an other constraint to fix vertical step to 0.1 for example.
Finally I found a trick using :
It don’t set steps but instead, tell that
So for example with max set to 180, each steps will have a value of 18 using
count: 10.