
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCICategoryLabelProvider
@protocol ISCICategoryLabelProvider <ISCILabelProvider>
Protocol to define a LabelProvider
for category axes
-
Gets the Bar Time Frame in seconds. This is the number of seconds that each data-point represents on the
SCICategoryDateAxis
and is required for proper rendering.Declaration
Objective-C
@property (nonatomic, readonly) double barTimeFrame;
-
Transforms an index of a data point to the corresponding data value.
Declaration
Objective-C
- (double)transformIndexToData:(NSInteger)index;
Parameters
index
The index to transform
Return Value
The data value
-
Transforms a data value to the nearest data point index.
Declaration
Objective-C
- (NSInteger)transformDataToIndex:(double)dataValue;
Parameters
dataValue
The data value to transform
Return Value
The index of the data point
-
Transforms a data value to the corresponding data point index using the specified search mode.
Declaration
Objective-C
- (NSInteger)transformDataToIndex:(double)dataValue withSearchMode:(SCISearchMode)mode;
Parameters
dataValue
The data value to transform
mode
The search mode
Return Value
The index of data point