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.