Search Results for

    Show / Hide Table of Contents

    Interface ILabelProvider

    Interface to define a LabelProvider. The LabelFormatter may be set by calling IAxisCore#setLabelProvider(ILabelProvider), allowing programmatic overriding of axis labels.

    Implements
    IAxisProviderBase
    labelProviders.IDoubleLabelFormatter
    Namespace:
    Assembly: .dll
    Syntax
    public interface ILabelProvider extends IAxisProviderBase, labelProviders.IDoubleLabelFormatter

    Methods

    formatCursorLabel(Comparable dataValue)

    Formats a label for the cursor, from the specified data-value passed in

    Declaration
    public abstract CharSequence formatCursorLabel(Comparable dataValue)
    Parameters
    Type Name Description
    Comparable dataValue

    The data value to format

    Returns
    Type Description
    CharSequence

    The formatted value

    formatLabel(Comparable dataValue)

    Formats a label for the axis from the specified data-value passed in

    Declaration
    public abstract CharSequence formatLabel(Comparable dataValue)
    Parameters
    Type Name Description
    Comparable dataValue

    The data value to format

    Returns
    Type Description
    CharSequence

    The formatted value

    getFormattedTickLabels()

    Gets the list of formatted axis tick labels for currently attached axis

    Declaration
    public abstract List<CharSequence> getFormattedTickLabels()
    Returns
    Type Description
    List<CharSequence>

    The list of formatted axis tick labels

    Implements

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