Yes, you can specify the format for each tick value if you are using the
ticks option. e.g.
ticks: [{v:1, f:'one'}, {v:2, f:'two'}, 3]
On Mon, Jun 6, 2016 at 7:00 AM, Artūras Šliažas <[email protected]>
wrote:
> This is my chart example:
>
>
> JSFiddle <https://jsfiddle.net/5yv936sr/5/https://jsfiddle.net/3g454use/>
>
>
> Is there a possibility to define custom x axis label text for each tick,
> for example display 1.0 as 'foo', 1.5 - empty, 2.0 - 'bar' and so on. The
> thing is I can't use values of type string when I am using ChartRangeFilter.
>
> --
> 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 [email protected].
> To post to this group, send email to
> [email protected].
> 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/c55c0714-5d5f-4794-8a52-04d50d953515%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/c55c0714-5d5f-4794-8a52-04d50d953515%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>
[email protected] <[email protected]> 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 [email protected].
To post to this group, send email to [email protected].
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/CAOtcSJPzU65Us%3De4sP-1%3DhvY1ynwNVKAC%3DjYUoK-eEN8MYnkNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.