Sorry for the huge Necro.

I have this exact same problem. I understand the API doesn't really support 
it. Can anyone suggest a workaround?

On Friday, November 30, 2012 at 2:38:10 PM UTC-5, asgallant wrote:
>
> There is no way to do this in the API.
>
> On Friday, November 30, 2012 12:38:59 PM UTC-5, snipka wrote:
>>
>> Hello Everyone,
>>
>> From the documentation I found that one can use vAxis:{ format: '...' } 
>> to format numbers that are displayed on vAxis as text.
>>
>> However, I need to perform calculation (ICU pattern set 
>> <http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details> 
>> doesn't 
>> cut it - tell me if I'm wrong). In my case - convert seconds (Integer), 
>> to HOURS:MINUTES:SECONDS.
>> I have a custom formatter that does that to format columns in 
>> google.visualization.DataTable and the formatted Integers are displayed 
>> in toolTip correctly.
>>
>> Is there a way to apply custom formatter for vAxis? I tried `vAxis:{ 
>> format: new elapseTimeFormatter*()* }` - it didn't work.
>> If not, what would be an alternative/workaround to achieve the formatting 
>> describes above.
>>
>>
>> Thank you.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/8f03c403-eb27-4ea0-b330-c40448d3a195%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to