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

SCICalendarDateLabelFormatter

@interface SCICalendarDateLabelFormatter<T : SCIDateAxis *>
    : SCILabelFormatterBase

Defines a label formatter for ISCIDateAxis which allows to use NSCalendarUnit based formatting

  • Creates a new instance of SCICalendarDateLabelFormatter class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLocale:(nonnull NSLocale *)locale
                                  timeZone:(nonnull NSTimeZone *)timeZone;

    Parameters

    locale

    The NSLocale to use by this formatter.

    timeZone

    The NSTimeZone to use by this formatter.

  • Creates a new instance of SCICalendarDateLabelFormatter class.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithDateFormatter:
            (nonnull id<ISCICalendarUnitDateFormatter>)dateFormatter
          cursorDateFormatter:
              (nonnull id<ISCICalendarUnitDateFormatter>)cursorDateFormatter;

    Parameters

    dateFormatter

    The formatter for axis labels.

    cursorDateFormatter

    The formatter for cursor.