gorteganesh / achartengine

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

not working axis X in XYMultipleSeriesDataset #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create XYMultipleSeriesDataset xyData = new XYMultipleSeriesDataset();
2. create two XYSeries
xyTimeAlt = new XYSeries(getString(R.string.altitude), 0);
xyTimeSpeed = new XYSeries(getString(R.string.speed), 1);
3. add both to rendered and all works fine (as on image1). Add only one with 
scale == 0, this also works fine. But when you add only second with scale == 1, 
axis is as on image 2, so not filled and panning is not working now

What is the expected output? What do you see instead?
working panning and correct values on X axis. 

Please provide a source code snippet that we can use to replicate the issue.
simple to create, as i first part of report. 

What version of the product binary library are you using?
downloaded by SVN in cca end of June

Please provide any additional information below.
I don't know if this is really bug or if this is functionality that should not 
ever work. If this is problem on my side, is here any solution how to disable 
one XYSeries in renderer?

Original issue reported on code.google.com by menion.asamm on 7 Jul 2011 at 1:59

Attachments:

GoogleCodeExporter commented 9 years ago
I'm afraid I have no solution to this one.
I designed the multiple scales feature in such a way that the 0 scale is 
absolutely mandatory and it is also recommended that the next scales to 
increment by 1. Otherwise, the behavior cannot be predicted easily.

Original comment by dandrome...@gmail.com on 20 Jul 2011 at 8:01

GoogleCodeExporter commented 9 years ago
Ok, thanks Dan! I'll then do some dynamic assign always to first scale and then 
to second. You may close this

Original comment by menion.asamm on 20 Jul 2011 at 8:04