iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCILabelProvider
@protocol ISCILabelProvider <ISCIAxisProviderBase>
Protocol to define a LabelProvider which allows programmatic overriding of axis labels.
-
Formats a label for the axis from the specified
data-valuepassed in.Declaration
Objective-C
- (nonnull id<ISCIString>)formatLabel:(nonnull id<ISCIComparable>)dataValue;Swift
func formatLabel(_ dataValue: any ISCIComparable) -> any ISCIStringParameters
dataValueThe data value to format.
Return Value
The formatted value.
-
Formats a label for the cursor, from the specified
data-valuepassed in.Declaration
Objective-C
- (nonnull id<ISCIString>)formatCursorLabel: (nonnull id<ISCIComparable>)dataValue;Swift
func formatCursorLabel(_ dataValue: any ISCIComparable) -> any ISCIStringParameters
dataValueThe data value to format.
Return Value
The formatted value.
-
Gets the list of formatted axis tick labels for currently attached axis.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<id<ISCIString>> *_Nonnull formattedTickLabels;Swift
var formattedTickLabels: [any ISCIString] { get }
View on GitHub