ibrahimsaputra / achartengine

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

Add support for changing position of chart values' numbers #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable chart values (set setDisplayChartValues() to true)
2. Provide example data set
3. Use line chart
4. Observe the numbers displayed on the cart

What is the expected output? What do you see instead?
- the numbers are too close to the line itself. They often overlap when the 
line goes up or down

Please provide a source code snippet that we can use to replicate the issue.
-

What version of the product binary library are you using?
0.6

Please provide any additional information below.
- Provide possibility to set the spacing / padding / margin of numbers (it's 
relative position to the points in line)
- Ideally, recognize if the number should be positioned over or under the line 
in order to not overlap

Original issue reported on code.google.com by pluska...@gusak.eu on 15 Apr 2011 at 10:26

GoogleCodeExporter commented 9 years ago
Fixed in SVN rev. r222.

Original comment by dandrome...@gmail.com on 15 Jun 2011 at 7:46

GoogleCodeExporter commented 9 years ago
These API calls are now available:
renderer.setChartValuesSpacing();
renderer.setChartValuesTextAlign();

Original comment by dandrome...@gmail.com on 15 Jun 2011 at 7:47

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 15 Jun 2011 at 8:15