iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCICrosshairSceneEntityBase

@interface SCICrosshairSceneEntityBase : SCIBaseSceneEntity

Defines an abstract base class for drawing crosshairs (lines or planes) for SCITooltipModifier3D at the hit test point.

  • Updates last hit vertex on SCITooltipModifier3D.

    Declaration

    Objective-C

    - (void)updateHitVertex:(nonnull SCIPoint3D *)hitVertex;

    Swift

    func updateHitVertex(_ hitVertex: SCIPoint3D)

    Parameters

    hitVertex

    The new hit vertex.

  • Set the crosshaiir visibility.

    Declaration

    Objective-C

    - (void)setCroshairVisible:(BOOL)isVisible;

    Swift

    func setCroshairVisible(_ isVisible: Bool)

    Parameters

    isVisible

    New isVisible value.