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 (nonatomic, strong, readonly) id<ISCIRenderableSeries> _Nonnull renderableSeries;Swift
var renderableSeries: any ISCIRenderableSeries { get } -
A point snapped to the
X-Yvalue of the series.Declaration
Objective-C
@property (nonatomic) CGPoint xyCoordinate;Swift
var xyCoordinate: CGPoint { get set } -
The type of
ISCIDataSeriesthat was hit tested.Declaration
Objective-C
@property (nonatomic) SCIDataSeriesType dataSeriesType;Swift
var dataSeriesType: SCIDataSeriesType { get set } -
The DataSeriesIndex at the
hit-testsite.Declaration
Objective-C
@property (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 (nonatomic) BOOL isWithinDataBounds;Swift
var isWithinDataBounds: Bool { get set } -
Creates a new instance of
SCISeriesInfoclass.Declaration
Objective-C
- (nonnull instancetype)initWithSeries:(nonnull id<ISCIRenderableSeries>)series;Swift
init(series: any ISCIRenderableSeries)Parameters
seriesThe parent renderable series.
-
Updates this series info with the latest values from renderable series.
Declaration
Objective-C
- (void)update;Swift
func update()
View on GitHub