About grouping separator for NumberFormat: In the Javascript there is a groupingSymbol option (see here<http://code.google.com/apis/chart/interactive/docs/reference.html#numberformatter>). This was indeed forgotten from the GWT API. I believe you can work around this issue by writing a native function that assigns some value to the groupingSymbol property of the NumberFormat.Options object.
About AxisOptions: All corechart charts don't support locale at the moment. See the Javascript API<http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html#Configuration_Options>. Sorry. On Fri, Jun 10, 2011 at 2:20 PM, Wojtek <[email protected]> wrote: > Hi All, > > We are using Chart Tools API Library for GWT version 1.1.1 > > We are struggling to set some proprties of a LineChart generated using > corechart package using GWT visualization library. > > Here is our problem: > > How to set a custom grouping/decimal separator for axis and/or > tooltips? In Poland we use 1 000,00 notation but the charts we manage > to render always have 1,000.00 notation. > > Using > com.google.gwt.visualization.client.formatters.NumberFormat.Options we > can sat only set decimal symbol for tooltips, there is no set method > for grouping symbol. > > For axis options we were not able to find any method to set neither > decimal nor grouping symbol and the graphs are not sensitive to locale > used by our GWT app ("pl"), although we explicity pass "pl" as > language to the API load method: > > AjaxLoader.AjaxLoaderOptions options = > AjaxLoader.AjaxLoaderOptions.newInstance(); > > JsArrayString packages = > ArrayHelper.toJsArrayString(LineChart.PACKAGE); > options.setPackages(packages); > options.setLanguage("pl"); > > AjaxLoader.loadApi("visualization", "1", onLoadCallback, options); > > Any ideas how to get 1 000,00 number format? > > Thanks in advance, > Wojtek > > -- > 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.
