AWFSeriesPoint
Objective-C
@interface AWFSeriesPoint : NSObject
Swift
class AWFSeriesPoint : NSObject
AWFSeriesPoint represents a single data point on a graph within a series. The values for both x- and y-axis should be defined for the series
point to be valid.
-
The data value on the x-axis.
Declaration
Objective-C
@property (nonatomic) CGFloat x;Swift
var x: CGFloat { get set } -
The data value on the y-axis.
Declaration
Objective-C
@property (nonatomic) CGFloat y;Swift
var y: CGFloat { get set } -
Creates and returns an new empty
AWFSeriesPointinstance.Declaration
Objective-C
+ (nonnull instancetype)point;Return Value
The initialized instance
-
Creates and returns a new
AWFSeriesPointinstance initialized with the specified x and y data values.Declaration
Objective-C
+ (nonnull instancetype)pointWithX:(CGFloat)x y:(CGFloat)y;Swift
convenience init(x: CGFloat, y: CGFloat)Parameters
xThe x value
yThe y value
Return Value
The instance initialized with the x and y values
View on GitHub
AWFSeriesPoint Class Reference