TKChartDataPoint Class Reference
Inherits from | NSObject |
Conforms to | TKChartData |
Declared in | TKChartDataPoint.h |
Tasks
-
dataXValue
property -
dataYValue
property -
dataName
property -
+ dataPointWithX:Y:
-
+ dataPointWithX:Y:name:
-
– initWithX:Y:
-
– initWithX:Y:name:
-
– initWithName:value:
Properties
dataName
The name of the value (used in Pie/Donut Charts).
@property (nonatomic, strong, nullable) NSString *dataName
Declared In
TKChartDataPoint.h
Class Methods
dataPointWithX:Y:
Creates a data point.
+ (instancetype __nonnull)dataPointWithX:(id __nullable)xValue Y:(id __nullable)yValue
Parameters
- xValue
X axis value.
- yValue
Y axis value.
Declared In
TKChartDataPoint.h
dataPointWithX:Y:name:
Creates a data point.
+ (instancetype __nonnull)dataPointWithX:(id __nullable)xValue Y:(id __nullable)yValue name:(NSString *__nullable)name
Parameters
- xValue
X axis value.
- yValue
Y axis value.
- name
The data point name (used in Pie/Donut Charts).
Declared In
TKChartDataPoint.h
Instance Methods
initWithName:value:
Creates a data point that will be used in pie chart.
- (instancetype __nonnull)initWithName:(NSString *__nullable)name value:(id __nullable)value
Parameters
- name
The data point name (used in Pie/Donut Charts).
- value
The point value. By default, this sets the xvalue.
Declared In
TKChartDataPoint.h