Jerry,
If you want arbitrary strings for each tick value, then you should probably
use the ticks option to specify the array of ticks to use. You can specify
both the values and formatted values for each tick label, like so:
hAxis: {
ticks: [ {v: 100, f: 'one hundred'}, {v: 200, f: 'two hundred'} ]
}
Will that work for your case?
On Wed, Jun 10, 2015 at 1:01 PM, Jerry Wasdyke <[email protected]>
wrote:
> I'm having a problem where I would like to display strings on the x axis
> of my bar graph, but for the graph to still read the integer data for the
> axis. Is there a way to do this? The problem arises because the trendline
> relies on the values used for the x axis.
>
> Thanks!
>
> --
> 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
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> -
978-394-1058
[email protected] <[email protected]> 5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton 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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.