hochileo / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Annotations feature extension #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now that we have annotations it would be great to customize them by setting the 
font type, font size and a label offset. The latest could be useful in case you 
need to anchor the annotation to the closest data point value but you don't 
want it to show on the series values.

What version of the product binary library are you using?
1.1.0 revision 508

Original issue reported on code.google.com by juliale...@gmail.com on 1 Mar 2013 at 10:04

GoogleCodeExporter commented 9 years ago
Fixed in SVN. You can download a version including this feature here: 
https://repository-achartengine.forge.cloudbees.com/snapshot/org/achartengine/ac
hartengine/1.2.0/

The new APIs:
renderer.setAnnotationsColor(Color.GREEN);
renderer.setAnnotationsTextSize(15);
renderer.setAnnotationsTextAlign(Align.CENTER);

Original comment by dandrome...@gmail.com on 7 Jun 2013 at 10:06

GoogleCodeExporter commented 9 years ago
It would be great a better positioning parametrization.
Like vertical alignment and offset in pixels.

At now I'm setting an offset in Annotation position, but it is in series unit 
measure. When the user zoom in or zoom out, the annotation moves respect the 
series.

Original comment by arlab....@gmail.com on 27 Mar 2015 at 3:39