Search Results for

    Show / Hide Table of Contents

    Class FormatterLabelProviderBase<T>

    A base to defines a LabelProvider which uses ILabelFormatter to format its labels

    Inheritance
    java.lang.Object
    AxisProviderBase<T>
    labelProviders.LabelProviderBase
    FormatterLabelProviderBase<T>
    Inherited Members
    AxisProviderBase.attachTo(IServiceContainer)
    AxisProviderBase.detach()
    AxisProviderBase.isAttached()
    labelProviders.LabelProviderBase.getFormattedTickLabels()
    labelProviders.LabelProviderBase.shouldUpdateTickLabels(DoubleValues)
    labelProviders.LabelProviderBase.update()
    labelProviders.LabelProviderBase.updateTickLabels(List<CharSequence>,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 FormatterLabelProviderBase<T> extends labelProviders.LabelProviderBase<T>
    Type Parameters
    Name Description
    T

    Constructors

    FormatterLabelProviderBase(Class<T> axisType, labelProviders.ILabelFormatter<T> labelFormatter)

    Creates a new instance of FormatterLabelProviderBase class

    Declaration
    protected FormatterLabelProviderBase(Class<T> axisType, labelProviders.ILabelFormatter<T> labelFormatter)
    Parameters
    Type Name Description
    Class<T> axisType

    The supported axis type

    ILabelFormatter<T> labelFormatter

    The ILabelFormatter used by this label provider

    Methods

    formatCursorLabel(double doubleValue)

    Declaration
    public CharSequence formatCursorLabel(double doubleValue)
    Parameters
    Type Name Description
    double doubleValue
    Returns
    Type Description
    CharSequence

    formatCursorLabel(Comparable dataValue)

    To customize formatting please override #formatCursorLabel(double)

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

    formatLabel(double doubleValue)

    Declaration
    public CharSequence formatLabel(double doubleValue)
    Parameters
    Type Name Description
    double doubleValue
    Returns
    Type Description
    CharSequence

    formatLabel(Comparable dataValue)

    To customize formatting please override #formatLabel(double)}

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

    update()

    Updates provider with new data

    Declaration
    public void update()
    Overrides
    LabelProviderBase<T>.update()

    updateTickLabels(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)

    Updates ticks collection according to provided axis ticks

    Declaration
    protected void updateTickLabels(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)
    Parameters
    Type Name Description
    List<CharSequence> formattedTickLabels
    DoubleValues majorTicks
    Overrides
    LabelProviderBase<T>.updateTickLabels(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml