I have a google line chart which works fine if there is some data. But 
sometimes there is no data to show. In this case the vAxis automatically 
decides to show only 3 values: 0.0, 0.5 and 1.0. In my case it makes sense 
to show only integer numbers. So I tried to use


vAxis: { viewWindow: { min: 0 }, format: 0 }


But then it only rounds up and shows: 0, 1, 1. I'd rather need a min 
interval of 1 to see the values: 0, 1, 2 and so on.


How can I achieve this?


Please feel free to play around with this fiddle: click here 
<https://jsfiddle.net/b4f4utL4/1/>.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/db5ec254-cebd-4aa2-ad47-f629023afde5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to