ChartMouseListener events error using ZoomStyle.INCHART
Posted: Wed Aug 20, 2014 1:56 pm
Hi,
After starting to use the ZoomStyle.INCHART_MULTI im my charts, the ChartMouseListener events stopped working, how can I reuse the backgroundClicked(ChartMouseEvent arg0)) event with this style of zoom?
After starting to use the ZoomStyle.INCHART_MULTI im my charts, the ChartMouseListener events stopped working, how can I reuse the backgroundClicked(ChartMouseEvent arg0)) event with this style of zoom?
Code: Select all
chart.getZoom().setZoomStyle(ZoomStyle.INCHART_MULTI);
Code: Select all
chart1.addChartMouseListener(new ChartMouseListener() {
@Override
public void titleClicked(ChartMouseEvent arg0) {
// TODO Auto-generated method stub
}
@Override
public void legendClicked(ChartMouseEvent arg0) {
// TODO Auto-generated method stub
}
@Override
public void backgroundClicked(ChartMouseEvent arg0) {
// TODO Auto-generated method stub
This event is no longer triggered with this zoom Style
}
@Override
public void axesClicked(ChartMouseEvent arg0) {
// TODO Auto-generated method stub
}
} );