The algorithm used to calculate ticks is changing. The 'upcoming' version
uses a more uniform (less heuristic) process that will hopefully work out
better in most cases, so I am curious if it works for you. To try it, just
change 'current' to 'upcoming' in your load call.
In general, it tries to find the largest set of ticks that are spaced (on
the screen) larger than the minimum spacing, and that follow the other
constraints of being multiples of a set of possible alternatives. The data
range is first expanded by some percentage set by the maxPadding option,
unless you have specified a viewWindow min or max, or used the
viewWindowMode 'maximized' option.
See the announcement about the upcoming changes here:
On Sun, Feb 18, 2018 at 11:39 PM, Satender Siwach <satender.siw...@gmail.com
> Can anyone tell me how google charts calculate ticks intervals?
> eg. if max value is 8.6 then it set 10 and ticks are [0,2.5,5,7.5,10]
> 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@googl
> Visit this group at https://groups.google.com/grou
> To view this discussion on the web visit https://groups.google.com/d/ms
> For more options, visit https://groups.google.com/d/optout.
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
dlalibe...@google.com <dlalibe...@google.com> 5CC, Cambridge MA
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 post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.