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 
this feature?

On Tuesday, August 30, 2011 12:54:39 AM UTC-6, Viz Kid wrote:


 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, Galen Vinter galen@gmail.com 
 javascript: wrote:

 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 
 https://groups.google.com/d/msg/google-visualization-api/-/G11o-lUEiYUJ.

 To post to this group, send email to google-visua...@googlegroups.com 
 javascript:.
 To unsubscribe from this group, send email to 
 google-visualization-api+unsubscr...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-visualization-api?hl=en.




-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


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 
http://code.google.com/p/google-visualization-api-issues/issues/list to 
add support for integer-only axis values if you like.

On Friday, August 1, 2014 4:02:47 PM UTC-4, Thayne McCombs wrote:

 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 
 this feature?

 On Tuesday, August 30, 2011 12:54:39 AM UTC-6, Viz Kid wrote:


 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, Galen Vinter galen@gmail.com 
 wrote:

 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 
 https://groups.google.com/d/msg/google-visualization-api/-/G11o-lUEiYUJ.

 To post to this group, send email to google-visua...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-visualization-api+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-visualization-api?hl=en.




-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


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, Galen Vinter galen.vin...@gmail.comwrote:

 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
 https://groups.google.com/d/msg/google-visualization-api/-/G11o-lUEiYUJ.

 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 To unsubscribe from this group, send email to
 google-visualization-api+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-visualization-api?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.



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 
https://groups.google.com/d/msg/google-visualization-api/-/jmDERZyk2R0J.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.



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 
https://groups.google.com/d/msg/google-visualization-api/-/G11o-lUEiYUJ.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.



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 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 considered for the future that would be awesome.

 --
 You received this message because you are subscribed to the Google Groups
 Google Visualization API group.
 To post to this group, send email to
 google-visualization-...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-visualization-api+unsubscr...@googlegroups.comgoogle-visualization-api%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-visualization-api?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To post to this group, send email to google-visualization-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.



[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 considered for the future that would be awesome.

-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To post to this group, send email to google-visualization-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.