Package org.jfree.chart.axis

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


                    if (this.orientation == PlotOrientation.HORIZONTAL) {
                        sourceX = source.getY();
                    }
                    double anchorX = domainAxis.java2DToValue(sourceX,
                            info.getDataArea(), getDomainAxisEdge());
                    domainAxis.resizeRange(factor, anchorX);
                }
                else {
                    domainAxis.resizeRange(factor);
                }
            }
View Full Code Here

                    double anchorX = domainAxis.java2DToValue(sourceX,
                            info.getDataArea(), getDomainAxisEdge());
                    domainAxis.resizeRange(factor, anchorX);
                }
                else {
                    domainAxis.resizeRange(factor);
                }
            }
        }
    }
View Full Code Here

                    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

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

    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

    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

        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

        }
        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

        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

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.