iOS Charting Documentation - SciChart iOS Charts SDK v3.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 (nonatomic, assign, unsafe_unretained, readwrite)
        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 (nonatomic, assign, unsafe_unretained, readwrite)
        SCIPenStyle *verticalLineStyle;

    Swift

    var verticalLineStyle: SCIPenStyle! { get set }