iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIXabcdCreationModifier
@interface SCIXabcdCreationModifier : SCIAnnotationCreationModifierBase
Gesture modifier for interactive XABCD harmonic annotation creation.
Interaction per point (X → A → B → C → D): touch down → places the point at the touch location drag → moves that point live in real-time touch up → locks the point; next touch begins the next point
After D is locked the completed annotation stays on chart and the modifier resets immediately, ready to draw a new annotation.
-
Stroke applied to each new annotation (optional; uses annotation default if nil).
Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIPenStyle *annotationStroke;Swift
var annotationStroke: SCIPenStyle? { get set } -
Fill applied to each new annotation (optional; uses annotation default if nil).
Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIBrushStyle *annotationFill;Swift
var annotationFill: SCIBrushStyle? { get set } -
YES while the user is actively drawing a point (finger is down).
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isDragging;Swift
var isDragging: Bool { get } -
Index of the point currently being placed/dragged (0=X … 4=D). -1 when idle.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger activePointIndex;Swift
var activePointIndex: Int { get } -
Cancels and removes any in-progress annotation.
Declaration
Objective-C
- (void)reset;Swift
func reset()
View on GitHub