Setting the maxValue to 6 doesn't work if you have values more than 6.
Unfortunately, in my case, I don't know what the maximum value is, and it
looks like the only solution is to loop through the entire table and find
the largest value, which is rather inconvenient. Is there any plans to add
The easy way to find the max value is to use the DataTable#getColumnRange
https://developers.google.com/chart/interactive/docs/reference#DataTable_getColumnRange
method, which will return an object with min and max properties. You can
file a feature request
Unfortunately this is still not supported explicitly. However, we usually
try to avoid fractions when possible. So if your data starts at 0 (and is
usually positive), you can set maxValue to 6 for the proper axis and it
would probably avoid fractions.
Viz Kid
On Tue, Aug 30, 2011 at 4:29 AM,
I wrote a function to handle this problem:
https://groups.google.com/d/msg/google-visualization-api/exndQy2JzvM/3FJ31dMaIkcJ
--
You received this message because you are subscribed to the Google Groups
Google Visualization API group.
To view this discussion on the web visit
I still can't find any new documentation for this feature.
Has anyone else seen/heard anything?
Thanks,
Galen
--
You received this message because you are subscribed to the Google Groups
Google Visualization API group.
To view this discussion on the web visit
Well, it is currently unsupported, but indeed sounds interesting and might
its way to our future roadmap
Badtnik
On Tue, Sep 28, 2010 at 10:12 PM, Kelly Miyashiro mallow...@gmail.comwrote:
Just wondering if there's a way to disallow non-whole numbers in the
vertical or horizontal axis for
Just wondering if there's a way to disallow non-whole numbers in the
vertical or horizontal axis for the interactive line/bar/column
charts.
When we are charting things that only come in whole numbers, it's kind
of embarrassing to be showing 1.5 or .5 in the scale. If this feature
could be