There is pattern formatting - http://code.google.com/apis/chart/interactive/docs/reference.html#patternformatter See if you can manipulate it to use regex so that it can recognize a pattern and do a substitution for example if 5000000, then replace the zeros with M, if 5000 replace the 0's with K
On Nov 3, 3:57 pm, Denzo <[email protected]> wrote: > Is there a way to have a formating function for the numbers displayed > on the axis. For instance, instead of displaying 5000000 I want to > display 5M. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. 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.
