Google Charts Visualization Column Chart axis formatting and column colors

前端 未结 8 1070
不知归路
不知归路 2020-12-25 15:17

\"chart\"

I have this Column Chart using Google\'s Visualization Chart API tools. How would I make it so the y-

8条回答
  •  感动是毒
    2020-12-25 15:25

    I used the following and have not seen fractions since...

    vAxis:{minValue:0,maxValue:5,gridlines:{count:6}}
    

    The trick seems to be that with 6 gridlines and 5 as lowest 'high' value, the halves and tenths aren't applicable anymore.

提交回复
热议问题