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