Search Results for

    Show / Hide Table of Contents

    Class TradeChartAxisLabelFormatter<T>

    Defines a default label formatter which is used by TradeChartAxisLabelProvider

    Inheritance
    java.lang.Object
    labelProviders.LabelFormatterBase
    TradeChartAxisLabelFormatter<T>
    Inherited Members
    labelProviders.LabelFormatterBase.formatCursorLabel(double)
    labelProviders.LabelFormatterBase.formatLabel(double)
    labelProviders.LabelFormatterBase.update(T)
    labelProviders.LabelFormatterBase.update(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 TradeChartAxisLabelFormatter<T> extends labelProviders.LabelFormatterBase<T>
    Type Parameters
    Name Description
    T

    Constructors

    TradeChartAxisLabelFormatter()

    Creates a new instance of TradeChartAxisLabelFormatter class

    Declaration
    public TradeChartAxisLabelFormatter()

    TradeChartAxisLabelFormatter(labelProviders.ICalendarUnitDateFormatter dateFormatter, labelProviders.ICalendarUnitDateFormatter cursorDateFormatter)

    Creates a new instance of TradeChartAxisLabelFormatter class.

    Declaration
    public TradeChartAxisLabelFormatter(labelProviders.ICalendarUnitDateFormatter dateFormatter, labelProviders.ICalendarUnitDateFormatter cursorDateFormatter)
    Parameters
    Type Name Description
    labelProviders.ICalendarUnitDateFormatter dateFormatter

    The formatter for axis labels.

    labelProviders.ICalendarUnitDateFormatter cursorDateFormatter

    The formatter for cursor.

    TradeChartAxisLabelFormatter(Locale locale, TimeZone timeZone)

    Creates a new instance of TradeChartAxisLabelFormatter class

    Declaration
    public TradeChartAxisLabelFormatter(Locale locale, TimeZone timeZone)
    Parameters
    Type Name Description
    Locale locale

    The Locale to use by this formatter

    TimeZone timeZone

    The TimeZone to use by this formatter

    Methods

    formatCursorLabel(double dataValue)

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

    Declaration
    public CharSequence formatCursorLabel(double dataValue)
    Parameters
    Type Name Description
    double dataValue
    Returns
    Type Description
    CharSequence
    Overrides
    LabelFormatterBase<T>.formatCursorLabel(double dataValue)

    formatLabel(double dataValue)

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

    Declaration
    public CharSequence formatLabel(double dataValue)
    Parameters
    Type Name Description
    double dataValue
    Returns
    Type Description
    CharSequence
    Overrides
    LabelFormatterBase<T>.formatLabel(double dataValue)

    update(CategoryDateAxis axis)

    Updates this label formatter with values provided by axis

    Declaration
    public void update(CategoryDateAxis axis)
    Parameters
    Type Name Description
    CategoryDateAxis axis
    Overrides
    LabelFormatterBase<T>.update(T axis)

    update(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)

    Updates ticks collection according to provided axis ticks.

    Declaration
    public boolean update(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)
    Parameters
    Type Name Description
    List<CharSequence> formattedTickLabels
    DoubleValues majorTicks
    Returns
    Type Description
    boolean
    Overrides
    LabelFormatterBase<T>.update(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml