List of usage examples for org.jfree.chart ChartPanel isRangeZoomable
public boolean isRangeZoomable()
From source file:net.sf.mzmine.chartbasics.ChartLogics.java
/** * // ww w . java 2 s .c om * @param chartPanel * @return */ public static boolean isMouseZoomable(ChartPanel chartPanel) { return chartPanel instanceof EChartPanel ? ((EChartPanel) chartPanel).isMouseZoomable() : chartPanel.isRangeZoomable() && chartPanel.isDomainZoomable(); }