There isn't a way to force the vertical axis to use integers directly,
but you can constrain it by specifying various options:
viewWindowMode, viewWindow min and max, and gridlines.count.  It would
be reasonable and convenient to have a way to specify the gridline
unit size to make this easier.

Glad I could help.

dan

On Tue, Dec 11, 2012 at 12:11 PM, Gregory Short <[email protected]> wrote:
> Okay, explicitly running parseInt() on the extra columns seems to have done 
> it. Super annoying that it worked "well enough" in Safari to not throw any 
> errors. Also annoying that php's json_encode() doesn't handle that optimally: 
> from what I read, it doesn't sound like there's much of anything you can do 
> to alter that behavior, short of providing your own encoder.
>
> Although now, my second test case (stacked) has the vertical axis using 
> floating point numbers instead of integers. Is there a way to force it to use 
> integer values? I know for a fact that my data will only ever be whole 
> numbers.
>
> Thanks for the help. :)
>
> -G
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Chart API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-chart-api?hl=en.
>



-- 
Daniel LaLiberte  - 978-394-1058
[email protected]   562D 5CC, Cambridge MA
[email protected] 9 Juniper Ridge Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to