yunjianwu / achartengine

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

Zoom-out does not work on LineChart when XAxisMin is set to #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem
1. Create a line chart displaying a XYSeries
2. Add a ZoomListener
3. Set XAxisMin to the series' minimum inside the zoom listener

The zoom out button doesn't work no more...

I'm using ACE r534.

chart = new LineChart(dataset, rendererset);
chartView = new GraphicalView(this, chart);
chartView.addZoomListener(new ZoomListener() {                  
    @Override
    public void zoomApplied(ZoomEvent e) {
        if ( e.isZoomIn() )
            rendererset.setXAxisMin(series.getMinX());
    }
}, true, false);
layout.addView(chartView);

Original issue reported on code.google.com by couit...@gmail.com on 29 May 2013 at 1:49

GoogleCodeExporter commented 9 years ago
Sorry the end of the title is missing:

Zoom-out does not work on LineChart when XAxisMin is set to series' minimum

Original comment by couit...@gmail.com on 29 May 2013 at 1:51

GoogleCodeExporter commented 9 years ago
Please try the newest version here: 
https://repository-achartengine.forge.cloudbees.com/snapshot/org/achartengine/ac
hartengine/1.2.0/
 and let me know if you still see the issue.

Original comment by dandrome...@gmail.com on 7 Jan 2014 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 8 Jan 2014 at 4:26