iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIChartListenerService
@protocol ISCIChartListenerService <ISCIChartListener>
Defines the protocol for ISCIChartListenerService which allows to subscribe to chart updates.
-
Register specified
ISCIChartListenerinstance as listener for changes in chart.Declaration
Objective-C
- (void)addListener:(nonnull id<ISCIChartListener>)listener;Swift
func add(_ listener: any ISCIChartListener)Parameters
listenerThe listener instance to add.
-
Removes specified
ISCIChartListenerinstance from list of listener for changes in chart.Declaration
Objective-C
- (void)removeListener:(nonnull id<ISCIChartListener>)listener;Swift
func remove(_ listener: any ISCIChartListener)Parameters
listenerThe listener instance to remove.
View on GitHub