Search Results for

    Show / Hide Table of Contents

    Class DateDeltaCalculatorBase

    Defines a base class for Numeric Delta Calculator

    Inheritance
    java.lang.Object
    DateDeltaCalculatorBase
    Implements
    deltaCalculators.IDeltaCalculator
    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 DateDeltaCalculatorBase implements deltaCalculators.IDeltaCalculator

    Constructors

    DateDeltaCalculatorBase()

    Declaration
    public DateDeltaCalculatorBase()

    Methods

    getDeltaFromRange(Comparable<?> min, Comparable<?> max, int minorsPerMajor)

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

    Declaration
    public deltaCalculators.IAxisDelta<Long> getDeltaFromRange(Comparable<?> min, Comparable<?> max, int minorsPerMajor)
    Parameters
    Type Name Description
    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

    Returns
    Type Description
    IAxisDelta<Long>

    The IAxisDelta instance

    getDeltaFromRange(Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxTicks)

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

    Declaration
    public deltaCalculators.IAxisDelta<Long> getDeltaFromRange(Comparable<?> min, Comparable<?> max, int minorsPerMajor, int maxTicks)
    Parameters
    Type Name Description
    Comparable<?> min
    Comparable<?> max
    int minorsPerMajor
    int maxTicks
    Returns
    Type Description
    IAxisDelta<Long>

    getTicks(Comparable<?> value)

    Gets tick representation of specified value

    Declaration
    protected abstract long getTicks(Comparable<?> value)
    Parameters
    Type Name Description
    Comparable<?> value

    The value to converts

    Returns
    Type Description
    long

    The tick representation

    Implements

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