You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Display a MultipleXY Line graph
2. Zoom in
3. Pan fully to the left
4. Try to pan to the right
What is the expected output? What do you see instead?
I expect the data to pan to the right, but that doesn't work. Before I pan
fully to the left, I can also pan to the right..
What version of the product binary library are you using?
svn rev 97
Please provide any additional information below.
- I have set only X-panning and have set a limit for panning. The limit works,
but stops working when panning to the left (to zero).
I don't know if I'm doing something wrong, or this is a bug..
Original issue reported on code.google.com by barry...@gmail.com on 22 Nov 2010 at 3:26
The text was updated successfully, but these errors were encountered:
It seems to happen when I set the mRenderer.setXAxisMax() function.
See the attached Main.java (tested with svn rev100).. When I zoom in, pan fully
to the left, I can't go back to the right. When I comment out the setXAxisMax
function, it is working correctly. Snippet from the code:
public void run() {
int numRows = 200;
mCurrentSeries.clear();
Random rand = new Random();
for (int i = 0; i <= numRows; i++) {
mCurrentSeries.add(i, rand.nextInt(10));
}
mRenderer.setXAxisMin(0);
mRenderer.setXAxisMax(numRows);
double[] limits = new double[4];
limits[0] = 0;
limits[1] = numRows;
limits[2] = 0;
limits[3] = 10;
mRenderer.setPanLimits(limits);
if (mChartView != null) {
mChartView.repaint();
}
}
Original comment by barry...@gmail.com on 29 Nov 2010 at 8:58
Original issue reported on code.google.com by
barry...@gmail.com
on 22 Nov 2010 at 3:26The text was updated successfully, but these errors were encountered: