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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        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 (nonatomic, assign, unsafe_unretained, readwrite)
        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()