Re: [visualization-api] Not allowing non-whole numbers in axis for interactive charts

2014-08-01 Thread Thayne McCombs
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

Re: [visualization-api] Not allowing non-whole numbers in axis for interactive charts

2014-08-01 Thread Andrew Gallant
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

Re: [visualization-api] Not allowing non-whole numbers in axis for interactive charts

2011-08-30 Thread Viz Kid
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,

Re: [visualization-api] Not allowing non-whole numbers in axis for interactive charts

2011-08-30 Thread asgallant
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

Re: [visualization-api] Not allowing non-whole numbers in axis for interactive charts

2011-08-29 Thread Galen Vinter
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

Re: [visualization-api] Not allowing non-whole numbers in axis for interactive charts

2010-09-29 Thread Badtnik
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

[visualization-api] Not allowing non-whole numbers in axis for interactive charts

2010-09-28 Thread Kelly Miyashiro
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