iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIDateLabelFormatter
@interface SCIDateLabelFormatter : SCILabelFormatterBase
Defines a default label formatter which is used by SCIDateTimeLabelProvider.
-
Creates a new instance of
SCIDateLabelFormatterclass.Declaration
Objective-C
- (nonnull instancetype)initWithLocale:(nonnull NSLocale *)locale timeZone:(nonnull NSTimeZone *)timeZone;Swift
init(locale: Locale, timeZone: TimeZone)Parameters
localeThe
NSLocaleto use by this formatter.timeZoneThe
NSTimeZoneto use by this formatter. -
Creates a new instance of
SCIDateLabelFormatterclass.Declaration
Objective-C
- (nonnull instancetype) initWithLabelFormatter:(nonnull NSDateFormatter *)labelFormatter cursorLabelFormatter:(nonnull NSDateFormatter *)cursorLabelFormatter;Swift
init(label labelFormatter: DateFormatter, cursorLabel cursorLabelFormatter: DateFormatter)Parameters
labelFormatterA
NSDateFormatterinstance which should be used to format axis labels.cursorLabelFormatterA
NSDateFormatterinstance which should be used to format cursor labels.
View on GitHub