Package org.jfree.chart.plot

Examples of org.jfree.chart.plot.ValueAxisPlot.zoomHorizontalAxes()


     */
    public void zoomInHorizontal(double x) {
        Plot p = this.chart.getPlot();
        if (p instanceof ValueAxisPlot) {
            ValueAxisPlot plot = (ValueAxisPlot) p;
            plot.zoomHorizontalAxes(this.zoomInFactor);
        }
    }

    /**
     * Decreases the range on the vertical axis, centered about a Java2D
View Full Code Here


     */
    public void zoomOutHorizontal(double x) {
        Plot p = this.chart.getPlot();
        if (p instanceof ValueAxisPlot) {
            ValueAxisPlot plot = (ValueAxisPlot) p;
            plot.zoomHorizontalAxes(this.zoomOutFactor);
        }
    }

    /**
     * Increases the range on the vertical axis, centered about a Java2D y coordinate.
View Full Code Here

            LOGGER.debug("vLower = " + vLower);
            LOGGER.debug("vUpper = " + vUpper);
            Plot p = this.chart.getPlot();
            if (p instanceof ValueAxisPlot) {
                ValueAxisPlot plot = (ValueAxisPlot) p;
                plot.zoomHorizontalAxes(hLower, hUpper);
                plot.zoomVerticalAxes(vLower, vUpper);
            }

        }
View Full Code Here

     */
    public void autoRangeHorizontal() {
        Plot p = this.chart.getPlot();
        if (p instanceof ValueAxisPlot) {
            ValueAxisPlot plot = (ValueAxisPlot) p;
            plot.zoomHorizontalAxes(0.0);
        }
    }

    /**
     * Restores the auto-range calculation on the vertical axis.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.