Search Results for

    Show / Hide Table of Contents

    Class RangeCalculatorHelperBase<T,TAxis>

    Defines a base implementation of IRangeCalculationHelperBase used by SciChart

    Inheritance
    java.lang.Object
    RangeCalculatorHelperBase<T,TAxis>
    Implements
    com.scichart.charting.visuals.axes.rangeCalculators.IRangeCalculationHelperBase<T>
    Inherited Members
    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 abstract class RangeCalculatorHelperBase<T,TAxis> implements rangeCalculators.IRangeCalculationHelperBase<T>
    Type Parameters
    Name Description
    T
    TAxis

    Constructors

    RangeCalculatorHelperBase(Class<TAxis> axisType, IRange<T> maximumRange, IRange<T> dataRange, IMath<T> math)

    Creates a new instance of RangeCalculatorHelperBase class

    Declaration
    protected RangeCalculatorHelperBase(Class<TAxis> axisType, IRange<T> maximumRange, IRange<T> dataRange, IMath<T> math)
    Parameters
    Type Name Description
    Class<TAxis> axisType
    IRange<T> maximumRange

    The IRange instance for storing maximum range

    IRange<T> dataRange

    The IRange instance for storing data range

    IMath<T> math

    The IMath instance used for calculations

    Fields

    ZERO_RANGE_GROW_BY

    Declaration
    protected static final double ZERO_RANGE_GROW_BY
    Field Value
    Type Description
    double

    axis

    Declaration
    protected TAxis axis
    Field Value
    Type Description
    TAxis

    dataRange

    Declaration
    protected final IRange<T> dataRange
    Field Value
    Type Description
    IRange<T>

    math

    Declaration
    protected final IMath<T> math
    Field Value
    Type Description
    IMath<T>

    maximumRange

    Declaration
    protected final IRange<T> maximumRange
    Field Value
    Type Description
    IRange<T>

    Methods

    attachTo(IServiceContainer services)

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

    coerceUndefinedRange(IRange<T> range)

    Coerces range if calculated range has undefined value

    Declaration
    protected void coerceUndefinedRange(IRange<T> range)
    Parameters
    Type Name Description
    IRange<T> range

    The range to coerce

    coerceZeroRange(IRange<T> range)

    Coerces range if calculated range has zero value

    Declaration
    protected void coerceZeroRange(IRange<T> range)
    Parameters
    Type Name Description
    IRange<T> range

    The range to coerce

    detach()

    Declaration
    public void detach()

    getDataRange(boolean forceCacheUpdate)

    Gets data range(full extents of the data) of the Axis

    Declaration
    public final IRange<T> getDataRange(boolean forceCacheUpdate)
    Parameters
    Type Name Description
    boolean forceCacheUpdate
    Returns
    Type Description
    IRange<T>

    getMaximumRange(boolean forceCacheUpdate)

    Gets the maximum range of the axis, based on the data-range of all series

    Declaration
    public final IRange<T> getMaximumRange(boolean forceCacheUpdate)
    Parameters
    Type Name Description
    boolean forceCacheUpdate
    Returns
    Type Description
    IRange<T>

    growBy(IRange<T> range, IRange<Double> growBy)

    Applies growBy to specified range

    Declaration
    protected void growBy(IRange<T> range, IRange<Double> growBy)
    Parameters
    Type Name Description
    IRange<T> range

    The range to apply growBy to

    IRange<Double> growBy

    The growBy value

    isAttached()

    Declaration
    public final boolean isAttached()
    Returns
    Type Description
    boolean

    onDataRangeChanged()

    Called internally when data range changes

    Declaration
    public void onDataRangeChanged()

    updateDataRange(IRange<T> dataRange)

    Updates data range of attached axis in X direction

    Declaration
    protected abstract void updateDataRange(IRange<T> dataRange)
    Parameters
    Type Name Description
    IRange<T> dataRange

    updateMaximumRange(IRange<T> maximumRange, boolean forceCacheUpdate)

    Updates maximum range of attached axis in X direction

    Declaration
    protected void updateMaximumRange(IRange<T> maximumRange, boolean forceCacheUpdate)
    Parameters
    Type Name Description
    IRange<T> maximumRange
    boolean forceCacheUpdate

    Implements

    com.scichart.charting.visuals.axes.rangeCalculators.IRangeCalculationHelperBase<T>
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml