Search Results for

    Show / Hide Table of Contents

    Class ZoomPanModifier

    The ZoomPanModifier provides a touch move to pan the X and Y Axes. Add to the SciChartSurface and set ZoomPanModifier#getIsEnabled() to True to enable this behaviour.

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase
    GestureModifierBase
    ZoomPanModifier
    Inherited Members
    ChartModifierBase.<T>getMasterModifier(T,IReceiveMotionEvents)
    ChartModifierBase.getAllXAxes()
    ChartModifierBase.getAllYAxes()
    ChartModifierBase.getContext()
    ChartModifierBase.getModifierSurface()
    ChartModifierBase.getParentSurface()
    ChartModifierBase.getPointRelativeTo(PointF,IHitTestable)
    ChartModifierBase.getRenderableSeries()
    ChartModifierBase.getRenderableSeriesArea()
    ChartModifierBase.getXAxes()
    ChartModifierBase.getXAxis()
    ChartModifierBase.getXAxis(String)
    ChartModifierBase.getYAxes()
    ChartModifierBase.getYAxis()
    ChartModifierBase.getYAxis(String)
    ChartModifierBase.includeAllAxes()
    ChartModifierBase.includeXAxis(IAxis,boolean)
    ChartModifierBase.includeYAxis(IAxis,boolean)
    ChartModifierBase.isWithinSourceBounds(float,float,boolean,IReceiveMotionEvents)
    ChartModifierBase.onAnnotationsCollectionChanged(CollectionChangedEventArgs<IAnnotation>)
    ChartModifierBase.onAnnotationsDrasticallyChanged()
    ChartModifierBase.onParentSurfaceResized(ResizedMessage)
    ChartModifierBase.onRenderSurfaceRendered(RenderedMessage)
    ChartModifierBase.onXAxesCollectionChanged(CollectionChangedEventArgs<IAxis>)
    ChartModifierBase.onXAxesDrasticallyChanged()
    ChartModifierBase.onYAxesCollectionChanged(CollectionChangedEventArgs<IAxis>)
    ChartModifierBase.onYAxesDrasticallyChanged()
    ChartModifierCore.applyThemeProvider(IThemeProvider)
    ChartModifierCore.checkPointerCounter(MotionEvent,int)
    ChartModifierCore.getEventsGroupTag()
    ChartModifierCore.getIsEnabled()
    ChartModifierCore.getReceiveHandledEvents()
    ChartModifierCore.getServices()
    ChartModifierCore.isAttached()
    ChartModifierCore.onGenericMotion(ModifierTouchEventArgs)
    ChartModifierCore.onIsEnabledChanged(boolean)
    ChartModifierCore.onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.onRenderableSeriesDrasticallyChanged()
    ChartModifierCore.onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.setEventsGroupTag(String)
    ChartModifierCore.setIsEnabled(boolean)
    ChartModifierCore.setReceiveHandledEvents(boolean)
    GestureModifierBase.attachTo(IServiceContainer)
    GestureModifierBase.detach()
    GestureModifierBase.getOriginalTouchEvent()
    GestureModifierBase.onCancel(MotionEvent)
    GestureModifierBase.onDoubleTap(MotionEvent)
    GestureModifierBase.onDoubleTapEvent(MotionEvent)
    GestureModifierBase.onDown(MotionEvent)
    GestureModifierBase.onFling(MotionEvent,MotionEvent,float,float)
    GestureModifierBase.onLongPress(MotionEvent)
    GestureModifierBase.onScroll(MotionEvent,MotionEvent,float,float)
    GestureModifierBase.onShowPress(MotionEvent)
    GestureModifierBase.onSingleTapConfirmed(MotionEvent)
    GestureModifierBase.onSingleTapUp(MotionEvent)
    GestureModifierBase.onTouch(ModifierTouchEventArgs)
    GestureModifierBase.onUp(MotionEvent)
    ReceiveMotionEventsBase.getName()
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class ZoomPanModifier extends GestureModifierBase

    Constructors

    ZoomPanModifier()

    Declaration
    public ZoomPanModifier()

    Methods

    attachTo(IServiceContainer services)

    Declaration
    public void attachTo(IServiceContainer services)
    Parameters
    Type Name Description
    IServiceContainer services
    Overrides
    GestureModifierBase.attachTo(IServiceContainer services)

    detach()

    Declaration
    public void detach()
    Overrides
    GestureModifierBase.detach()

    getApplicableXAxes()

    Gets the Iterable collection of the XAxes to which this modifier may be applicable on.

    Declaration
    protected Iterable<IAxis> getApplicableXAxes()
    Returns
    Type Description
    Iterable<IAxis>

    The collection of the XAxes which this modifier may be applicable on.

    getApplicableYAxes()

    Gets the Iterable collection of the YAxes to which this modifier may be applicable on.

    Declaration
    protected Iterable<IAxis> getApplicableYAxes()
    Returns
    Type Description
    Iterable<IAxis>

    The collection of the YAxes which this modifier may be applicable on.

    getClipModeTargetX()

    Gets which target is used as limit by ClipModeX when you reach the edge of the X-Axis extents

    Declaration
    public final ClipModeTarget getClipModeTargetX()
    Returns
    Type Description
    ClipModeTarget

    The target range which is used as limit by ClipModeX

    getClipModeTargetY()

    Gets which target is used as limit by ClipModeY when you reach the edge of the Y-Axis extents

    Declaration
    public final ClipModeTarget getClipModeTargetY()
    Returns
    Type Description
    ClipModeTarget

    The target range which is used as limit by ClipModeY

    getClipModeX()

    Gets how panning behaves when you reach the edge of the X-Axis extents. e.g. ClipMode#ClipAtExtents prevents panning outside of the X-Axis, ClipMode.None allows panning outside.

    Declaration
    public final ClipMode getClipModeX()
    Returns
    Type Description
    ClipMode

    The ClipMode, which determines behavior when you reach the edge of the X-Axis extents by panning.

    getClipModeY()

    Gets how panning behaves when you reach the edge of the Y-Axis extents. e.g. ClipMode#ClipAtExtents prevents panning outside of the Y-Axis, ClipMode.None allows panning outside.

    Declaration
    public final ClipMode getClipModeY()
    Returns
    Type Description
    ClipMode

    The ClipMode, which determines behavior when you reach the edge of the Y-Axis extents by panning.

    getDirection()

    Gets the Direction2D to restrict zoom interactivity to.

    Declaration
    public final Direction2D getDirection()
    Returns
    Type Description
    Direction2D

    The Direction2D to restrict zoom interactivity to.

    getZoomExtentsY()

    Gets whether the ZoomPanModifier should perform zoom to extents on the Y-Axis on the each zoom operation when panning in X-Direction only. If true, zoom to extents on the Y-Axis on the each zoom operation when panning in X-Direction only. Use in conjunction withZoomPanModifier#direction to achieve different zooming effects.

    Declaration
    public final boolean getZoomExtentsY()
    Returns
    Type Description
    boolean

    True - zoom to extents on the Y-Axis on the each zoom operation. Otherwise - false.

    includeAllAxes()

    Includes all X and Y axes

    Declaration
    public void includeAllAxes()
    Overrides
    ChartModifierBase.includeAllAxes()

    includeXAxis(IAxis axis, boolean isIncluded)

    Includes or excludes X axis

    Declaration
    public void includeXAxis(IAxis axis, boolean isIncluded)
    Parameters
    Type Name Description
    IAxis axis
    boolean isIncluded
    Overrides
    ChartModifierBase.includeXAxis(IAxis axis, boolean isIncluded)

    includeYAxis(IAxis axis, boolean isIncluded)

    Includes or excludes Y axis

    Declaration
    public void includeYAxis(IAxis axis, boolean isIncluded)
    Parameters
    Type Name Description
    IAxis axis
    boolean isIncluded
    Overrides
    ChartModifierBase.includeYAxis(IAxis axis, boolean isIncluded)

    onDown(MotionEvent e)

    Declaration
    public boolean onDown(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase.onDown(MotionEvent e)

    onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

    Declaration
    public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
    Parameters
    Type Name Description
    android.view.MotionEvent e1
    android.view.MotionEvent e2
    float velocityX
    float velocityY
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase.onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

    onRenderSurfaceRendered(RenderedMessage message)

    Called when parent SciChartSurface#getRenderSurface() rendered

    Declaration
    public void onRenderSurfaceRendered(RenderedMessage message)
    Parameters
    Type Name Description
    RenderedMessage message
    Overrides
    ChartModifierBase.onRenderSurfaceRendered(RenderedMessage message)

    onScroll(MotionEvent e1, MotionEvent e2, float xDelta, float yDelta)

    Declaration
    public boolean onScroll(MotionEvent e1, MotionEvent e2, float xDelta, float yDelta)
    Parameters
    Type Name Description
    android.view.MotionEvent e1
    android.view.MotionEvent e2
    float xDelta
    float yDelta
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase.onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)

    scroll(float xDelta, float yDelta)

    Performs scroll on charts using specified X and Y delta values in pixels

    Declaration
    protected void scroll(float xDelta, float yDelta)
    Parameters
    Type Name Description
    float xDelta

    The xDelta value to use for scrolling

    float yDelta

    The yDelta value to use for scrolling

    setClipModeTargetX(ClipModeTarget clipModeTargetX)

    Sets which target is used as limit by ClipModeX when you reach the edge of the X-Axis extents

    Declaration
    public final void setClipModeTargetX(ClipModeTarget clipModeTargetX)
    Parameters
    Type Name Description
    ClipModeTarget clipModeTargetX

    The target range which is used as limit by ClipModeX

    setClipModeTargetY(ClipModeTarget clipModeTargetY)

    Sets which target is used as limit by ClipModeY when you reach the edge of the Y-Axis extents

    Declaration
    public final void setClipModeTargetY(ClipModeTarget clipModeTargetY)
    Parameters
    Type Name Description
    ClipModeTarget clipModeTargetY

    The target range which is used as limit by ClipModeY

    setClipModeX(ClipMode clipModeX)

    Sets how panning behaves when you reach the edge of the X-Axis extents. e.g. ClipMode#ClipAtExtents prevents panning outside of the X-Axis, ClipMode.None allows panning outside

    Declaration
    public final void setClipModeX(ClipMode clipModeX)
    Parameters
    Type Name Description
    ClipMode clipModeX

    The new ClipMode, which determines behavior when you reach the edge of the X-Axis extents by panning.

    setClipModeY(ClipMode clipModeY)

    Sets how panning behaves when you reach the edge of the Y-Axis extents. e.g. ClipMode#ClipAtExtents prevents panning outside of the Y-Axis, ClipMode.None allows panning outside

    Declaration
    public final void setClipModeY(ClipMode clipModeY)
    Parameters
    Type Name Description
    ClipMode clipModeY

    The new ClipMode, which determines behavior when you reach the edge of the Y-Axis extents by panning.

    setDirection(Direction2D direction)

    Sets the Direction2D to restrict zoom interactivity to.

    Declaration
    public final void setDirection(Direction2D direction)
    Parameters
    Type Name Description
    Direction2D direction

    The new Direction2D to restrict zoom interactivity to.

    setZoomExtentsY(boolean zoomExtentsY)

    Sets whether the ZoomPanModifier should perform zoom to extents on the Y-Axis on the each zoom operation when panning in X-Direction only. If true, zoom to extents on the Y-Axis on the each zoom operation when panning in X-Direction only. Use in conjunction withZoomPanModifier#direction to achieve different zooming effects.

    Declaration
    public final void setZoomExtentsY(boolean zoomExtentsY)
    Parameters
    Type Name Description
    boolean zoomExtentsY

    If true - zoom to extents on the Y-Axis on the each zoom operation.

    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml