Search Results for

    Show / Hide Table of Contents

    Class IndexDateTickProvider

    Defines ITickProvider used by IndexDateAxis

    Inheritance
    java.lang.Object
    AxisProviderBase<T>
    TickProvider
    tickProviders.DeltaTickProvider
    IndexDateTickProvider
    Inherited Members
    AxisProviderBase.attachTo(IServiceContainer)
    AxisProviderBase.detach()
    AxisProviderBase.isAttached()
    tickProviders.DeltaTickProvider.calculateLabelCullingPriority(double)
    tickProviders.DeltaTickProvider.getDeltaFromRange(TDeltaCalculator,Comparable<?>,Comparable<?>,int,int)
    tickProviders.DeltaTickProvider.getMajorTickIndex(double)
    tickProviders.DeltaTickProvider.guardDeltaValues(IRange,Comparable,Comparable)
    tickProviders.DeltaTickProvider.isFirstMajorTickEven(DoubleValues)
    tickProviders.DeltaTickProvider.isParamsValid(IRange,Comparable,Comparable)
    tickProviders.DeltaTickProvider.updateCullingPriorities(IntegerValues,DoubleValues)
    tickProviders.DeltaTickProvider.updateInternal()
    tickProviders.TickProvider.getTicks()
    tickProviders.TickProvider.shouldUpdateTicks()
    tickProviders.TickProvider.update()
    tickProviders.TickProvider.updateTicks(DoubleValues,DoubleValues)
    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 IndexDateTickProvider extends tickProviders.DeltaTickProvider<deltaCalculators.NumericDeltaCalculator>

    Constructors

    IndexDateTickProvider()

    Creates a new instance of IndexDateTickProvider class

    Declaration
    public IndexDateTickProvider()

    IndexDateTickProvider(deltaCalculators.NumericDeltaCalculator deltaCalculator)

    Creates new instance of IndexDateTickProvider class

    Declaration
    public IndexDateTickProvider(deltaCalculators.NumericDeltaCalculator deltaCalculator)
    Parameters
    Type Name Description
    deltaCalculators.NumericDeltaCalculator deltaCalculator

    The delta calculator to use

    Methods

    attachTo(IServiceContainer services)

    Declaration
    public void attachTo(IServiceContainer services)
    Parameters
    Type Name Description
    IServiceContainer services
    Overrides
    AxisProviderBase<T>.attachTo(IServiceContainer services)

    detach()

    Declaration
    public void detach()
    Overrides
    AxisProviderBase<T>.detach()

    getDeltaFromRange(deltaCalculators.NumericDeltaCalculator deltaCalculator, Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxAutoTicks)

    Given an absolute Axis Min and Max, returns a IAxisDelta instance containing sensible MinorDelta and MajorDelta values

    Declaration
    protected deltaCalculators.IAxisDelta<?> getDeltaFromRange(deltaCalculators.NumericDeltaCalculator deltaCalculator, Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxAutoTicks)
    Parameters
    Type Name Description
    deltaCalculators.NumericDeltaCalculator deltaCalculator
    Comparable<?> min

    The axis VisibleRange min value

    Comparable<?> max

    The axis VisibleRange max value

    int minorsPerMajor

    The number of Minor Delta ticks per Major Tick

    int maxAutoTicks

    The max ticks

    Returns
    Type Description
    IAxisDelta<?>

    The IAxisDelta instance

    Overrides
    DeltaTickProvider<TDeltaCalculator>.getDeltaFromRange(TDeltaCalculator deltaCalculator, Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxAutoTicks)

    getMajorTickIndex(double tick)

    Gets the index of specified major axis tick

    Declaration
    protected int getMajorTickIndex(double tick)
    Parameters
    Type Name Description
    double tick

    The major axis tick

    Returns
    Type Description
    int

    The index of major axis tick

    Overrides
    DeltaTickProvider<TDeltaCalculator>.getMajorTickIndex(double tick)

    isParamsValid(IRange tickRange, Comparable minorDelta, Comparable majorDelta)

    Checks whether provided parameters are valid for this tick provider

    Declaration
    protected boolean isParamsValid(IRange tickRange, Comparable minorDelta, Comparable majorDelta)
    Parameters
    Type Name Description
    IRange tickRange
    Comparable minorDelta
    Comparable majorDelta
    Returns
    Type Description
    boolean
    Overrides
    DeltaTickProvider<TDeltaCalculator>.isParamsValid(IRange tickRange, Comparable minorDelta, Comparable majorDelta)

    updateTicks(DoubleValues minorTicks, DoubleValues majorTicks)

    Updates major and minor tick values

    Declaration
    protected void updateTicks(DoubleValues minorTicks, DoubleValues majorTicks)
    Parameters
    Type Name Description
    DoubleValues minorTicks
    DoubleValues majorTicks
    Overrides
    TickProvider.updateTicks(DoubleValues minorTicks, DoubleValues majorTicks)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml