iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIObservableSmartPropertyDouble
@interface SCIObservableSmartPropertyDouble : SCISmartPropertyDouble
Defines a smart property class which can hold double value and provides listener with old and new value.
-
Creates a new instance of
SCIObservableSmartPropertyDoubleclass.Declaration
Objective-C
- (nonnull instancetype)initWithListener: (nonnull SCIDoublePropertyChangeListener)listener;Swift
init(listener: @escaping SCIDoublePropertyChangeListener)Parameters
listenerThe listener change listener for this property.
-
Creates a new instance of
SCIObservableSmartPropertyDoubleclass.Declaration
Objective-C
- (nonnull instancetype)initWithListener: (nonnull SCIDoublePropertyChangeListener)listener andDefaultValue:(double)defaultValue;Swift
init(listener: @escaping SCIDoublePropertyChangeListener, andDefaultValue defaultValue: Double)Parameters
listenerThe listener change listener for this property.
defaultValueThe default value for property.
View on GitHub