
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
SCIDateLabelFormatter
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
SCIDateLabelFormatter
class.Declaration
Objective-C
- (nonnull instancetype) initWithLabelFormatter:(nonnull NSDateFormatter *)labelFormatter cursorLabelFormatter:(nonnull NSDateFormatter *)cursorLabelFormatter;
Parameters
labelFormatter
A
NSDateFormatter
instance which should be used to format axis labels.cursorLabelFormatter
A
NSDateFormatter
instance which should be used to format cursor labels.