iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCINotifiableSmartPropertyDouble
@interface SCINotifiableSmartPropertyDouble : SCISmartPropertyDouble
Defines a smart property class which can hold double value and send notifications whenever it’s value changes.
-
Creates a new instance of
SCINotifiableSmartPropertyDoubleclass.Declaration
Objective-C
- (nonnull instancetype)initWithListener:(nonnull SCIAction)listener andDefaultValue:(double)defaultValue;Swift
init(listener: @escaping SCIAction, andDefaultValue defaultValue: Double)Parameters
listenerThe listener change listener for this property.
defaultValueThe default value for property.
View on GitHub