Commit 99d1382
committed
Improved panning and zooming in ChartComponent when using an XYChart or subclasses. Previously zooming and panning would pan/zoom the entire chart, including axes. Now, if the chart is displaying an XYChart, it will simply adjust the min and max x and y axis values so that the axes and labels stay in the same place but the user is viewing a different range of the chart. This is more in line with the way chart libraries usually work.
1 parent ae000f1 commit 99d1382
2 files changed
Lines changed: 630 additions & 67 deletions
File tree
- CodenameOne/src/com/codename1/charts
- renderers
0 commit comments