Examples of resizeRange()


Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

    public void zoomHorizontalAxes(double factor) {
        if (this.orientation == PlotOrientation.HORIZONTAL) {
            for (int i = 0; i < this.rangeAxes.size(); i++) {
                ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
                if (rangeAxis != null) {
                    rangeAxis.resizeRange(factor);
                }
            }
        }
    }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

    public void zoomVerticalAxes(double factor) {
        if (this.orientation == PlotOrientation.VERTICAL) {
            for (int i = 0; i < this.rangeAxes.size(); i++) {
                ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
                if (rangeAxis != null) {
                    rangeAxis.resizeRange(factor);
                }
            }
        }
    }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

        PlotOrientation orient = getOrientation();
        if (orient == PlotOrientation.HORIZONTAL) {
            for (int i = 0; i < this.rangeAxes.size(); i++) {
                ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
                if (rangeAxis != null) {
                    rangeAxis.resizeRange(factor);
                }
            }
        }
        else if (orient == PlotOrientation.VERTICAL) {
            for (int i = 0; i < this.domainAxes.size(); i++) {
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

        }
        else if (orient == PlotOrientation.VERTICAL) {
            for (int i = 0; i < this.domainAxes.size(); i++) {
                ValueAxis domainAxis = (ValueAxis) this.domainAxes.get(i);
                if (domainAxis != null) {
                    domainAxis.resizeRange(factor);
                }
            }
        }
    }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

        if (orient == PlotOrientation.HORIZONTAL) {
            for (int i = 0; i < this.domainAxes.size(); i++) {
                ValueAxis domainAxis = (ValueAxis) this.domainAxes.get(i);
                if (domainAxis != null) {
                    domainAxis.resizeRange(factor);
                }
            }
        }
        else if (orient == PlotOrientation.VERTICAL) {
            for (int i = 0; i < this.rangeAxes.size(); i++) {
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

        }
        else if (orient == PlotOrientation.VERTICAL) {
            for (int i = 0; i < this.rangeAxes.size(); i++) {
                ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
                if (rangeAxis != null) {
                    rangeAxis.resizeRange(factor);
                }
            }
        }

    }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

                    if (this.orientation == PlotOrientation.HORIZONTAL) {
                        sourceY = source.getX();
                    }
                    double anchorY = rangeAxis.java2DToValue(sourceY,
                            info.getDataArea(), getRangeAxisEdge());
                    rangeAxis.resizeRange(factor, anchorY);
                }
                else {
                    rangeAxis.resizeRange(factor);
                }
            }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

                    double anchorY = rangeAxis.java2DToValue(sourceY,
                            info.getDataArea(), getRangeAxisEdge());
                    rangeAxis.resizeRange(factor, anchorY);
                }
                else {
                    rangeAxis.resizeRange(factor);
                }
            }
        }
    }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

            final ValueAxis axis = getAxis(axisIdx);
            if (axis != null) {
                if (useAnchor) {
                    double anchorX = axis.java2DToValue(sourceX,
                            info.getDataArea(), RectangleEdge.BOTTOM);
                    axis.resizeRange(factor, anchorX);
                }
                else {
                    axis.resizeRange(factor);
                }
            }
View Full Code Here

Examples of org.jfree.chart.axis.ValueAxis.resizeRange()

                    double anchorX = axis.java2DToValue(sourceX,
                            info.getDataArea(), RectangleEdge.BOTTOM);
                    axis.resizeRange(factor, anchorX);
                }
                else {
                    axis.resizeRange(factor);
                }
            }
        }
    }
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.