happysir / achartengine

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

TimeChart with xRoundedLabels = false only adds labels from first dataseries #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two dataseries, one with a single element and one with multiple
2. Add the smaller dataseries first
3. Disable XRoundedLabels
4. Create a TimeChart

What is the expected output? What do you see instead?
Expected: A graph with x-labels for all points where there's data.
What happens: A graph with a single x label

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

Please provide any additional information below.
The problem lies in getXLabels in TimeChart code (line 160)

Original issue reported on code.google.com by saarinen...@gmail.com on 25 Jul 2014 at 11:44