/** * Pans all domain axes by the specified percentage. * * @param panRange the distance to pan (as a percentage of the axis length). * @param info the plot info * @param source the source point where the pan action started. * @since 1.0.15 */ @Override public void panDomainAxes(double panRange, PlotRenderingInfo info, Point2D source) { XYPlot subplot = findSubplot(info, source); if (subplot != null) { PlotRenderingInfo subplotInfo = info.getSubplotInfo(info.getSubplotIndex(source)); if (subplotInfo == null) { return; } for (int i = 0; i < subplot.getDomainAxisCount(); i++) { ValueAxis domainAxis = subplot.getDomainAxis(i); domainAxis.pan(panRange); } } }