iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIExtendedLineCreationModifier
@interface SCIExtendedLineCreationModifier : SCIAnnotationCreationModifierBase
Two-pan gesture modifier that creates a SCIExtendedLineAnnotation on a
SciChart surface. After completion the modifier resets and is ready to draw
another ExtendedLine immediately.
SCIExtendedLineCreationModifier *mod = [SCIExtendedLineCreationModifier new]; [surface.chartModifiers add:mod];
-
The pen style used to draw the main pivot line.
Declaration
Objective-C
@property (nonatomic, strong) SCIPenStyle *_Nonnull stroke;Swift
var stroke: SCIPenStyle { get set } -
Determine how the line annotation is extended beyond its start/end points.
- extendStart = YES, extendEnd = YES → Equivalent to “ExtendBoth” The line is extended in both directions.
- extendStart = NO, extendEnd = YES → Equivalent to “ExtendForward” The line is extended only forward from the end point.
- extendStart = YES, extendEnd = NO → Equivalent to “ExtendBackward” The line is extended only backward from the start point.
- extendStart = NO, extendEnd = NO → Equivalent to “Line” No extension; the line is drawn only between the two anchor points.
Declaration
Objective-C
@property (nonatomic) BOOL extendEnd;Swift
var extendEnd: Bool { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL extendStartSwift
var extendStart: Bool { get set } -
Aborts any in-progress drawing and returns to Idle.
Declaration
Objective-C
- (void)reset;Swift
func reset()
View on GitHub