Search Results for

    Show / Hide Table of Contents

    Interface ICategoryLabelProvider

    Interface to define a LabelProvider for category axes

    Implements
    labelProviders.ILabelProvider
    Namespace:
    Assembly: .dll
    Syntax
    public interface ICategoryLabelProvider extends labelProviders.ILabelProvider

    Methods

    getBarTimeFrame()

    Gets the Bar Time Frame in seconds. This is the number of seconds that each data-point represents on the CategoryDateAxis and is required for proper rendering.

    Declaration
    public abstract double getBarTimeFrame()
    Returns
    Type Description
    double

    The Bar Time Frame in seconds

    transformDataToIndex(double dataValue)

    Transforms a data value to the nearest data point index.

    Declaration
    public abstract int transformDataToIndex(double dataValue)
    Parameters
    Type Name Description
    double dataValue

    The data value to transform

    Returns
    Type Description
    int

    The index of the data point

    transformDataToIndex(double dataValue, SearchMode mode)

    Transforms a data value to the corresponding data point index using the specified search mode.

    Declaration
    public abstract int transformDataToIndex(double dataValue, SearchMode mode)
    Parameters
    Type Name Description
    double dataValue

    The data value to transform

    SearchMode mode

    The search mode

    Returns
    Type Description
    int

    The index of data point

    transformIndexToData(int index)

    Transforms an index of a data point to the corresponding data value.

    Declaration
    public abstract double transformIndexToData(int index)
    Parameters
    Type Name Description
    int index

    The index to transform

    Returns
    Type Description
    double

    The data value

    Implements

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