Hi, You can use the vAxis.format option. >From the >documentation<http://code.google.com/apis/visualization/documentation/gallery/linechart.html> :
A format string for numeric axis labels. This is a subset of the ICU pattern set <http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details>. For instance, {format:'#,###%'} will display values "1,000%", "750%", and "50%" for values 10, 7.5, and 0.5. On Thu, Apr 7, 2011 at 11:10 AM, Klavs P. Christensen <[email protected]>wrote: > or: how do I get the ICU format to respect my locale? > > Hi > > In my locale (Denmark) a value is presented as eg. "2.777,89". How do I > format values on the vAxis to my locale? > > I use the numberFormat ({decimalSymbol: ',', groupingSymbol: '.'}) to > format the datatable to my locale. This works great for the body of my > columnChart. I have, however, not found any way of formatting the values on > the vAxis. They still present themselves with "." as decimalSymbol. > > Which options or work arounds have I missed? I've read the ICU > specifications and understand them. They do not give me the ability to > specify which separator I want. Only how to format a number. > > I would be very thankful if you could help me. My client is going live > april 20th and would with without doubt appreciate readable columnCharts > > /Klavs > > -- > 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. > -- 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.
