Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added custom Point value formatter #474

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Open

Added custom Point value formatter #474

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I created a formatter interface with a single method to format the Point value 
in the chart.
You can set the Object implementing the interface in the SimpleSeriesRenderer. 
If the formatter is set, the XYChart will use this formatter otherwise will use 
classic method. 
I created my custom implementation too. You can set 2 text formats (2 Strings), 
one for each signed number (positive numbers and negative numbers).

Attached:
-IValueFormatter the interface in the package org.achartengine.formatter
-SignedNumberFormatter my implementation in the package 
org.achartengine.formatter
-The patch for class XYChart.java
-The patch for class SimpleSeriesRenderer.java



Original issue reported on code.google.com by matteo.l...@gmail.com on 9 Mar 2015 at 10:44

Attachments:

@GoogleCodeExporter
Copy link
Author

I attached wrong file for SimpleSeriesRendere.java. Here the correct one.

Original comment by matteo.l...@gmail.com on 9 Mar 2015 at 10:47

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant