You may want to try the 'upcoming' version since it does make use of the
format to determine whether the formatted ticks are unique.  And there is
also a 'multiple' option, so you can say vAxis: { grldlines: { multiple: 1
} } to get the effect you want.

On Wed, Jun 27, 2018 at 6:53 AM Vandana G <vandana.nc...@gmail.com> wrote:

> Hi Daniel,
>
> I have applied* {format: '0'} *for vAxis because I need Integers only. My
> gragh is loading dynamically from database depending upon some input, so
> How can I define ticks?
>
> On 26 June 2018 at 18:52, 'Daniel LaLiberte' via Google Visualization API
> <google-visualization-api@googlegroups.com> wrote:
>
>> You appear to have a format for the vAxis that doesn't work well with the
>> generated ticks.  Remove the formatting to see the full values being
>> generated.  Then if you really want integer ticks, you'll have to arrange
>> that by specifying the 'ticks' option.
>>
>> On Tue, Jun 26, 2018 at 3:36 AM Vandana G <vandana.nc...@gmail.com>
>> wrote:
>>
>>> Hello there,
>>>
>>> In my stacked bar chart, vertical axis values are not sequential and the
>>> graph is shown incorrectly. Screenshot is attached herewith
>>>
>>>
>>> --
>>> 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
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-visualization-api/cee35427-2942-4acf-b447-c5ee4f34936e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/cee35427-2942-4acf-b447-c5ee4f34936e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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 google-visualization-api+unsubscr...@googlegroups.com.
>> To post to this group, send email to
>> google-visualization-api@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJOhHiT7ueF9NeJ97vrQ3-6te54vRMx2haW0JYa44Q_%2Bfg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJOhHiT7ueF9NeJ97vrQ3-6te54vRMx2haW0JYa44Q_%2Bfg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAGpxxGJajXnTMg49QiiHg0wGqQZp3Tv7WTvyYcVAaCxAo_rdrg%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-visualization-api/CAGpxxGJajXnTMg49QiiHg0wGqQZp3Tv7WTvyYcVAaCxAo_rdrg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPOkC7VOtE065cB5uk16%2B8iLy-oGUNEgkou8koabtE%2Bwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to