Inherits from NSObject
Conforms to TKChartData
Declared in TKChartFinancialDataPoint.h

Overview

Represents a data point for financial series.

Properties

close

Close price value.

@property (nonatomic, strong, nullable) NSNumber *close

Declared In

TKChartFinancialDataPoint.h

dataName

The name.

@property (nonatomic, strong, nullable) NSString *dataName

Declared In

TKChartFinancialDataPoint.h

dataXValue

X axis value.

@property (nonatomic, strong, nullable) id dataXValue

Declared In

TKChartFinancialDataPoint.h

dataYValue

Y axis value.

@property (nonatomic, strong, nullable) id dataYValue

Declared In

TKChartFinancialDataPoint.h

high

High price value.

@property (nonatomic, strong, nullable) NSNumber *high

Declared In

TKChartFinancialDataPoint.h

low

Low price value.

@property (nonatomic, strong, nullable) NSNumber *low

Declared In

TKChartFinancialDataPoint.h

open

Open price value.

@property (nonatomic, strong, nullable) NSNumber *open

Declared In

TKChartFinancialDataPoint.h

volume

Volume value.

@property (nonatomic, strong, nullable) NSNumber *volume

Declared In

TKChartFinancialDataPoint.h

Class Methods

dataPointWithX:open:high:low:close:

Creates a financial data point.

+ (instancetype __nonnull)dataPointWithX:(id __nullable)xValue open:(NSNumber *__nullable)open high:(NSNumber *__nullable)high low:(NSNumber *__nullable)low close:(NSNumber *__nullable)close

Parameters

xValue

X axis value.

open

Open price value.

high

High price value.

low

Low price value.

close

Close price value.

Declared In

TKChartFinancialDataPoint.h

dataPointWithX:open:high:low:close:volume:

Creates a financial data point.

+ (instancetype __nonnull)dataPointWithX:(id __nullable)xValue open:(NSNumber *__nullable)open high:(NSNumber *__nullable)high low:(NSNumber *__nullable)low close:(NSNumber *__nullable)close volume:(NSNumber *__nullable)volume

Parameters

xValue

X axis value.

open

Open price value.

high

High price value.

low

Low price value.

close

Close price value.

volume

Volume value.

Declared In

TKChartFinancialDataPoint.h

Instance Methods

initWithX:open:high:low:close:volume:

Creates a financial data point.

- (instancetype __nonnull)initWithX:(id __nullable)xValue open:(NSNumber *__nullable)open high:(NSNumber *__nullable)high low:(NSNumber *__nullable)low close:(NSNumber *__nullable)close volume:(NSNumber *__nullable)volume

Parameters

xValue

X axis value.

open

Open price value.

high

High price value.

low

Low price value.

close

Close price value.

volume

Volume value.

Declared In

TKChartFinancialDataPoint.h