iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIMeasureCreationModifier
@interface SCIMeasureCreationModifier : SCIMultiPointAnnotationPlacementModifier
Two-point gesture modifier that creates a SCIMeasureAnnotation on a SciChart surface.
Style properties set here are applied to each annotation as it is created.
-
The
SCIPenStyleused when the second point is above the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIPenStyle *growingStroke;Swift
var growingStroke: SCIPenStyle? { get set } -
The
SCIBrushStyleused when the second point is above the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIBrushStyle *growingFill;Swift
var growingFill: SCIBrushStyle? { get set } -
The
SCIPenStyleused when the second point is below the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIPenStyle *decliningStroke;Swift
var decliningStroke: SCIPenStyle? { get set } -
The
SCIBrushStyleused when the second point is below the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIBrushStyle *decliningFill;Swift
var decliningFill: SCIBrushStyle? { get set } -
The
SCIFontStyleused by the measurement label.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIFontStyle *labelStyle;Swift
var labelStyle: SCIFontStyle? { get set } -
The factor applied to the price change to produce the scaled value shown in the label.
Declaration
Objective-C
@property (nonatomic) double yValueScaleFactor;Swift
var yValueScaleFactor: Double { get set } -
Determines whether the anchor points snap to whole candles.
Declaration
Objective-C
@property (nonatomic) BOOL snapToCandles;Swift
var snapToCandles: Bool { get set }
View on GitHub