Hi! my name is Carlos and my email is
kerberox1@mixmail.com, first of all thanks for your
great work.
I have coded some changes in the current non-alpha
version (0.7.5) to add localized options for the axis
(in axis charts) and for the pie charts too.
This can be useful for applications where the user
interface is showed in many languages and the data
axis must be shown in localized format, that may
differ from the JVM´s default.
Here comes an example of use:
...
DataAxisProperties dataAxisProp =
(DataAxisProperties) axisProperties.getYAxisProperties
();
dataAxisProp.setLocale(java.util.Locale.ITALY);
// OPTIONAL: if not set, use the JVM default
...
In this example the axis shows numerical data in the
standar format for Italy (i.e: one million will be
shown as 1.000.000).
Please, consider to add this capability in newer
versions of jCharts. The zip file attached is an
option for coding this improvement.
Thanks again.
Only contains modified files, unzip to the src directory of the project.