Search Results for

    Show / Hide Table of Contents

    Class YAxisDragModifier

    The YAxisDragModifier provides a mouse drag to scale the Y-Axis. This behaviour scales the axis in a different direction depending on which half of the axis the user starts the operation in. Add to a SciChartSurface and set IsEnabled to true to enable this behaviour. See Also: com.scichart.charting.modifiers.XAxisDragModifier

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase
    GestureModifierBase
    AxisDragModifierBase
    YAxisDragModifier
    Inherited Members
    AxisDragModifierBase.applyScaleToRange(IRange,float,float,boolean,IAxis)
    AxisDragModifierBase.getApplicableAxes()
    AxisDragModifierBase.getDragMode()
    AxisDragModifierBase.getIsSecondHalf(float,float,RectF,boolean)
    AxisDragModifierBase.getMinTouchArea()
    AxisDragModifierBase.onCancel(MotionEvent)
    AxisDragModifierBase.onDown(MotionEvent)
    AxisDragModifierBase.onScroll(MotionEvent,MotionEvent,float,float)
    AxisDragModifierBase.onUp(MotionEvent)
    AxisDragModifierBase.performPan(float,float,boolean,IAxis)
    AxisDragModifierBase.performScale(float,float,boolean,IAxis)
    AxisDragModifierBase.setDragMode(AxisDragModifierBase.AxisDragMode)
    AxisDragModifierBase.setMinTouchArea(float)
    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.onDoubleTap(MotionEvent)
    GestureModifierBase.onDoubleTapEvent(MotionEvent)
    GestureModifierBase.onFling(MotionEvent,MotionEvent,float,float)
    GestureModifierBase.onLongPress(MotionEvent)
    GestureModifierBase.onShowPress(MotionEvent)
    GestureModifierBase.onSingleTapConfirmed(MotionEvent)
    GestureModifierBase.onSingleTapUp(MotionEvent)
    GestureModifierBase.onTouch(ModifierTouchEventArgs)
    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 YAxisDragModifier extends AxisDragModifierBase

    Constructors

    YAxisDragModifier()

    Declaration
    public YAxisDragModifier()

    Methods

    applyScaleToRange(IRange applyTo, float xDelta, float yDelta, boolean isSecondHalf, IAxis axis)

    When overridden in a derived class, calculates an output IRange to apply to the associated IAxis which is given in the input parameters.

    Declaration
    protected void applyScaleToRange(IRange applyTo, float xDelta, float yDelta, boolean isSecondHalf, IAxis axis)
    Parameters
    Type Name Description
    IRange applyTo
    float xDelta
    float yDelta
    boolean isSecondHalf
    IAxis axis
    Overrides
    AxisDragModifierBase.applyScaleToRange(IRange applyTo, float xDelta, float yDelta, boolean isSecondHalf, IAxis axis)

    getApplicableAxes()

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

    Declaration
    protected Iterable<IAxis> getApplicableAxes()
    Returns
    Type Description
    Iterable<IAxis>
    Overrides
    AxisDragModifierBase.getApplicableAxes()

    getIsSecondHalf(float x, float y, RectF axisBounds, boolean isHorizontalAxis)

    Gets whether the specified mouse point is within the second (right-most or top-most) half of the Axis bounds.

    Declaration
    protected boolean getIsSecondHalf(float x, float y, RectF axisBounds, boolean isHorizontalAxis)
    Parameters
    Type Name Description
    float x
    float y
    android.graphics.RectF axisBounds
    boolean isHorizontalAxis
    Returns
    Type Description
    boolean
    Overrides
    AxisDragModifierBase.getIsSecondHalf(float x, float y, RectF axisBounds, boolean isHorizontalAxis)

    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)

    performPan(float xDelta, float yDelta, boolean isSecondHalf, IAxis axis)

    Performs a pan on the associated IAxis which is given in the input parameters.

    Declaration
    protected void performPan(float xDelta, float yDelta, boolean isSecondHalf, IAxis axis)
    Parameters
    Type Name Description
    float xDelta
    float yDelta
    boolean isSecondHalf
    IAxis axis
    Overrides
    AxisDragModifierBase.performPan(float xDelta, float yDelta, boolean isSecondHalf, IAxis axis)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml