Interface Zoomable

    • Method Detail

      • zoomDomainAxes

        void zoomDomainAxes​(double factor,
                            PlotRenderingInfo state,
                            Point2D source)
        Multiplies the range on the domain axis/axes by the specified factor. The source point can be used in some cases to identify a subplot, or to determine the center of zooming (refer to the documentation of the implementing class for details).
        Parameters:
        factor - the zoom factor.
        state - the plot state.
        source - the source point (in Java2D coordinates).
        See Also:
        zoomRangeAxes(double, PlotRenderingInfo, Point2D)
      • zoomDomainAxes

        void zoomDomainAxes​(double factor,
                            PlotRenderingInfo state,
                            Point2D source,
                            boolean useAnchor)
        Multiplies the range on the domain axis/axes by the specified factor. The source point can be used in some cases to identify a subplot, or to determine the center of zooming (refer to the documentation of the implementing class for details).
        Parameters:
        factor - the zoom factor.
        state - the plot state.
        source - the source point (in Java2D coordinates).
        useAnchor - use source point as zoom anchor?
        See Also:
        zoomRangeAxes(double, PlotRenderingInfo, Point2D, boolean)
      • zoomRangeAxes

        void zoomRangeAxes​(double factor,
                           PlotRenderingInfo state,
                           Point2D source)
        Multiplies the range on the range axis/axes by the specified factor. The source point can be used in some cases to identify a subplot, or to determine the center of zooming (refer to the documentation of the implementing class for details).
        Parameters:
        factor - the zoom factor.
        state - the plot state.
        source - the source point (in Java2D coordinates).
        See Also:
        zoomDomainAxes(double, PlotRenderingInfo, Point2D)
      • zoomRangeAxes

        void zoomRangeAxes​(double factor,
                           PlotRenderingInfo state,
                           Point2D source,
                           boolean useAnchor)
        Multiplies the range on the range axis/axes by the specified factor. The source point can be used in some cases to identify a subplot, or to determine the center of zooming (refer to the documentation of the implementing class for details).
        Parameters:
        factor - the zoom factor.
        state - the plot state.
        source - the source point (in Java2D coordinates).
        useAnchor - use source point as zoom anchor?
        See Also:
        zoomDomainAxes(double, PlotRenderingInfo, Point2D)