iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCISeriesInfo

@interface SCISeriesInfo : SCISeriesInfoCore <ISCIHitTestInfoUpdatable>

Defines a class which contains information about a series, such as name, value, color based on SCIHitTestInfo values.

  • The parent renderable series.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) id<ISCIRenderableSeries>
        renderableSeries;

    Swift

    weak var renderableSeries: ISCIRenderableSeries? { get set }
  • A point snapped to the X-Y value of the series.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGPoint xyCoordinate;

    Swift

    var xyCoordinate: CGPoint { get set }
  • The type of ISCIDataSeries that was hit tested.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SCIDataSeriesType dataSeriesType;

    Swift

    var dataSeriesType: SCIDataSeriesType { get set }
  • The DataSeriesIndex at the hit-test site.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger dataSeriesIndex;

    Swift

    var dataSeriesIndex: Int { get set }
  • The value indicating whether the input point is between first and last series point or not

    Declaration

    Objective-C

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

    Swift

    var isWithinDataBounds: Bool { get set }
  • Creates a new instance of SCISeriesInfo class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSeries:(nonnull id<ISCIRenderableSeries>)series;

    Swift

    init(series: ISCIRenderableSeries)

    Parameters

    series

    The parent renderable series.

  • Updates this series info with the latest values from renderable series.

    Declaration

    Objective-C

    - (void)update;

    Swift

    func update()