The docs say the format takes a string from a (unspecified) subset of the 
ICU pattern set; I think they meant the decimal format pattern set 
specifically, but I could be wrong.  In any event, I couldn't figure out a 
way to get the ChoiceFormat to work.

In answer to your followup question, the vAxis.format option is the only 
means to set, change, or adjust the axis labels.

On Monday, April 23, 2012 11:17:55 AM UTC-4, Fred R wrote:
>
> One more thing. So assuming that the ChoiceFormat doesn't work out. I'm 
> assuming there is no way to change a grid lines label. Correct?
>
> FR
>
> On Monday, April 23, 2012 11:16:33 AM UTC-4, Fred R wrote:
>>
>> Thanks for your reply. ICU pattern set does support such a thing via 
>> ChoiceFormat but I've never used and I'm not sure how to even approach it. 
>> I can't find any examples of it. If any one knows what the format looks 
>> like please chime in. 
>>
>> Thanks,
>> FR
>>
>> On Monday, April 23, 2012 10:37:27 AM UTC-4, asgallant wrote:
>>>
>>> To the best of my knowledge, the vAxis only supports formats according 
>>> to the ICU pattern 
>>> set<http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details>. 
>>>  I don't *think* there is any way to do what you want with them, but if 
>>> you find one, please share it with the group.
>>>
>>> On Sunday, April 22, 2012 9:21:17 PM UTC-4, Fred R wrote:
>>>>
>>>> I want to be able to change the labels on vAxis from a number to a text 
>>>> based on a range. For instance, the 50 gridline should have the label 
>>>> 'good' and 51 to 100 will have the label 'moderate', etc. 
>>>>
>>>> If I can't do this in format what is another way I can do this?
>>>>
>>>> TIA,
>>>> Fred
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/9S0k3N7bMjQJ.
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-visualization-api?hl=en.

Reply via email to