IGScatterPoint Class Reference

Inherits from IGDataPoint : NSObject
Declared in DataPoint.h

Overview

IGScatterPoint is a point used by series whose X and Y axes are numeric. Such series include IGScatterSeries, IGScatterLineSeries, IGScatterSplineSeries. Each point has a pair of numeric values and a label.

Other Methods

  xValue

X value of the data point.

@property (nonatomic) double xValue

Declared In

DataPoint.h

  yValue

Y value of the data point.

@property (nonatomic) double yValue

Declared In

DataPoint.h

Initializing IGScatterPoint

– initWithX:andY:andLabel:

Initializes IGScatterPoint with a pair of numeric coordinates and a label.

- (instancetype)initWithX:(double)x andY:(double)y andLabel:(nullable NSString *)label

Parameters

x

X coordinate of the data point.

y

Y coordinate of the data point.

label

A string label of the data point.

Return Value

Returns an initialized IGScatterPoint.

Declared In

DataPoint.h