iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIStopLossTakeProfitCreationModifier
@interface SCIStopLossTakeProfitCreationModifier
: SCIMultiPointAnnotationPlacementModifier
Two-point gesture modifier that creates a SCIStopLossTakeProfitAnnotation on a SciChart
surface. Style properties set here are applied to each annotation as it is created.
-
The
SCIPenStyleused for the level lines when the second point is above the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIPenStyle *takeProfitStroke;Swift
var takeProfitStroke: SCIPenStyle? { get set } -
The
SCIBrushStyleused to fill the zone when the second point is above the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIBrushStyle *takeProfitFill;Swift
var takeProfitFill: SCIBrushStyle? { get set } -
The
SCIPenStyleused for the level lines when the second point is below the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIPenStyle *stopLossStroke;Swift
var stopLossStroke: SCIPenStyle? { get set } -
The
SCIBrushStyleused to fill the zone when the second point is below the first.Declaration
Objective-C
@property (nonatomic, strong, nullable) SCIBrushStyle *stopLossFill;Swift
var stopLossFill: SCIBrushStyle? { get set } -
Determines whether axis labels are shown on both the X and Y axes.
Declaration
Objective-C
@property (nonatomic) BOOL showAxisLabels;Swift
var showAxisLabels: Bool { get set } -
The opacity of the band filled on the axes between the two axis labels.
Declaration
Objective-C
@property (nonatomic) float axisSpanFillOpacity;Swift
var axisSpanFillOpacity: Float { get set } -
The labels applied to each new annotation.
Declaration
Objective-C
@property (nonatomic, copy) NSArray<SCIMultiPointLabel *> *_Nonnull labels;Swift
var labels: [SCIMultiPointLabel] { get set } -
The block which supplies the complete text of each label.
Declaration
Objective-C
@property (nonatomic, copy, nullable) SCIMultiPointLabelFormatter formatLabel;Swift
var formatLabel: SCIMultiPointLabelFormatter? { get set }
View on GitHub