wangyao5 / achartengine

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

X numer label overlaps with custom text label #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Bar chart
2. Set text label with XYMultipleSeriesRenderer.addXTextLabel (Eg: month name 
for 1: Jan, 2: Feb, etc)
3. Run the app
4. Zoom in on the graph

What is the expected output? What do you see instead?
Expected: 12 labels with month names from Jan to Dec
Result: When zooming in, the month name is overlapped with the month number

Please provide a source code snippet that we can use to replicate the issue.
Can be replicated on the project's demo: SalesStackedBarChart, by adding 
renderer.addXTextLabel(1, "Jan"); renderer.addXTextLabel(2, "Feb"); etc 

What version of the product binary library are you using?
Version 0.7.0

Please provide any additional information below.

Original issue reported on code.google.com by andy.ghi...@gmail.com on 21 Sep 2011 at 8:04

GoogleCodeExporter commented 9 years ago
Just use a renderer.setXLabels(0);

Original comment by dandrome...@gmail.com on 26 Oct 2011 at 5:45