This class represents the data items contained within an SChartSeries.
SChartDataPoint represents a simple data point in a
SChartDataSeries. The simple data point is made up of an x and a y object (not multiple x or y objects). It doesn’t need to know what these objects are, it merely looks after them. Knowing how to interpet and translate these objects onto a chart is the job of the axis on the chart, which is an instance of
When creating a Radar or Polar chart using a
SChartRadialLineSeries, use the xValue and yValue properties to plot your data. The xValue property stores data corresponding to the circular (radial) axis that renders clockwise around the chart. The yValue property stores data corresponding to the horizontal (polar) axis which renders from the center to the outer edge of the chart.
More information about using SChartDataPoint can be found in the user guide.
Returns the index of this data point in its series.
@property (nonatomic, assign, readonly) NSInteger index
The x value for this data point.
@property (nullable, nonatomic, retain) id xValue
Returns a data point with the specified x and y values.
- (instancetype)initWithXValue:(nullable id)xValue yValue:(nullable id)yValue
The x value that this data point should have.
The y value that this data point should have.
A data point with the specified x and y values.