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.

  • Sets whether a Vertical Line should be drawn at the rollover location.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL drawVerticalLine;

    Swift

    var drawVerticalLine: Bool { get set }
  • Gets the SCIPenStyle instance which will be used by SCIVerticalLineDrawableBehavior to draw vertical rollover line.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SCIPenStyle *verticalLineStyle;

    Swift

    var verticalLineStyle: SCIPenStyle! { get set }