[visualization-api] prevent negative axis

2014-05-15 Thread Neil Camara
Hi folks, I'm not sure why it's showing negative axis even if I don't have any negative values that I'm putting. How do I force it so that it's always at zero? Thanks, Neil -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To

Re: [visualization-api] prevent negative axis

2014-05-15 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Neil, You can constrain the lower end of the vertical axis like so: options = { ... vAxis: { viewWindow: { min: 0 } } } Since we can see 20 gridlines on your vertical axis, I suspect you have specified count: 20, and if so, the chart tries its best to show 20 gridlines, with a bit