
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;
-
Gets the
SCIPenStyle
instance which will be used bySCIVerticalLineDrawableBehavior
to draw vertical rollover line.Declaration
Objective-C
@property (nonatomic, strong) SCIPenStyle *_Nonnull verticalLineStyle;
-
Creates a new instance of
SCIRolloverModifier
class.Declaration
Objective-C
- (nonnull instancetype)init;
-
Creates a new instance of
SCIRolloverModifier
class.Declaration
Objective-C
- (nonnull instancetype) initWithRolloverBehavior:(nonnull SCIRolloverBehavior *)rolloverBehavior axisTooltipsBehavior: (nonnull SCIAxisTooltipsBehaviorBase *)axisTooltipsBehavior;
Parameters
rolloverBehavior
SCIRolloverBehavior
which will be associated with this modifier.axisTooltipsBehavior
SCIAxisTooltipsBehavior
which will be associated with this modifier.