iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCISeriesInfoProvider
@protocol ISCISeriesInfoProvider <ISCIAttachable>
Defines the interface which creates SCISeriesInfo and tooltips based on SCISeriesInfo values.
-
Creates
SCISeriesInfoinstance which is attached to currentISCIRenderableSeries.Declaration
Objective-C
@property (nonatomic, readonly) SCISeriesInfo *_Nonnull seriesInfo;Swift
var seriesInfo: SCISeriesInfo { get } -
Creates
ISCISeriesTooltipinstance which is attached to currentISCIRenderableSeries.Declaration
Objective-C
@property (nonatomic, readonly) id<ISCISeriesTooltip> _Nonnull seriesTooltip;Swift
var seriesTooltip: any ISCISeriesTooltip { get } -
Creates
ISCISeriesTooltipinstance for specifiedtooltipIdwhich is attached to currentISCIRenderableSeries.Declaration
Objective-C
- (nonnull id<ISCISeriesTooltip>)getSeriesTooltip:(nonnull Class)modifierType;Swift
func getSeriesTooltip(_ modifierType: AnyClass) -> any ISCISeriesTooltipParameters
modifierTypeThe type of modifier for which tooltip will be created.
Return Value
Tooltip instance.
-
When overridden in derived classes, should add all needed
ISCIRenderableSeriesinto legend data source.Declaration
Objective-C
- (void)tryAddSeriesToLegendDataSource: (nonnull NSMutableArray<id<ISCIRenderableSeries>> *)legendDataSource;Swift
func tryAddSeries(toLegendDataSource legendDataSource: NSMutableArray)
View on GitHub