Search Results for

    Show / Hide Table of Contents

    Class LabelProviderBase<T>

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

    Inheritance
    java.lang.Object
    AxisProviderBase
    LabelProviderBase<T>
    Implements
    labelProviders.ILabelProvider
    Inherited Members
    AxisProviderBase.attachTo(IServiceContainer)
    AxisProviderBase.detach()
    AxisProviderBase.isAttached()
    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 LabelProviderBase<T> extends AxisProviderBase<T> implements labelProviders.ILabelProvider
    Type Parameters
    Name Description
    T

    Constructors

    LabelProviderBase(Class<T> axisType)

    Creates a new instance of LabelProviderBase class

    Declaration
    protected LabelProviderBase(Class<T> axisType)
    Parameters
    Type Name Description
    Class<T> axisType

    The supported axis type

    Methods

    getFormattedTickLabels()

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

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

    shouldUpdateTickLabels(DoubleValues majorTicks)

    Returns whether label provider should be updated

    Declaration
    protected boolean shouldUpdateTickLabels(DoubleValues majorTicks)
    Parameters
    Type Name Description
    DoubleValues majorTicks

    Major ticks to use for tick labels

    Returns
    Type Description
    boolean

    If true label provider should be updated, otherwise it should be cleared

    update()

    Updates provider with new data

    Declaration
    public void 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

    The list where formatted ticks should be stored

    DoubleValues majorTicks

    Major ticks to use for tick labels

    Implements

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