iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIRolloverModifier
@interface SCIRolloverModifier : SCITooltipModifierWithAxisLabelsBase
The SCIRolloverModifier provides a touch-over hit-test to a chart, plus a collection of a SCISeriesInfo objects to bind to which updates as the touch moves.
Add to a SCIChartSurface and set ISCIChartModifier.isEnabled to YES to enable this behaviour.
See
SCICursorModifier.
See
SCITooltipModifier.
-
Sets whether a Vertical Line should be drawn at the rollover location.
Declaration
Objective-C
@property (nonatomic) BOOL drawVerticalLine;Swift
var drawVerticalLine: Bool { get set } -
Gets the
SCIPenStyleinstance which will be used bySCIVerticalLineDrawableBehaviorto draw vertical rollover line.Declaration
Objective-C
@property (nonatomic, strong) SCIPenStyle *_Nonnull verticalLineStyle;Swift
var verticalLineStyle: SCIPenStyle { get set } -
Creates a new instance of
SCIRolloverModifierclass.Declaration
Objective-C
- (nonnull instancetype)init;Swift
convenience init() -
Creates a new instance of
SCIRolloverModifierclass.Declaration
Objective-C
- (nonnull instancetype) initWithRolloverBehavior:(nonnull SCIRolloverBehavior *)rolloverBehavior axisTooltipsBehavior: (nonnull SCIAxisTooltipsBehaviorBase *)axisTooltipsBehavior;Swift
init(rolloverBehavior: SCIRolloverBehavior, axisTooltipsBehavior: SCIAxisTooltipsBehaviorBase)Parameters
rolloverBehaviorSCIRolloverBehaviorwhich will be associated with this modifier.axisTooltipsBehaviorSCIAxisTooltipsBehaviorwhich will be associated with this modifier.
View on GitHub