iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIFormatterLabelProviderBase

@interface SCIFormatterLabelProviderBase<T : id <ISCIAxisCore>>
    : SCILabelProviderBase <T>

A base class to define a LabelProvider which uses ISCILabelFormatter to format its labels.

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

    Note

    Formatting is achieived using underlying associated ISCILabelFormatter instance.

    Warning

    Do not override this method. It is supposed to be final.

    Declaration

    Objective-C

    - (nonnull id<ISCIString>)formatLabel:(nonnull id<ISCIComparable>)dataValue;

    Parameters

    dataValue

    The data value to format.

    Return Value

    The formatted value.

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

    • - note: Formatting is achieived using underlying associated ISCILabelFormatter instance.

    Warning

    Do not override this method. It is supposed to be final.

    Declaration

    Objective-C

    - (nonnull id<ISCIString>)formatCursorLabel:
        (nonnull id<ISCIComparable>)dataValue;

    Parameters

    dataValue

    The data value to format.

    Return Value

    The formatted value.