Inherits from IGDataPoint : NSObject
Declared in DataPoint.h

Overview

IGOHLCPoint is a data point with open, low, high and close values that are commonly used in financial charts.

Properties

closeValue

A value that determines the close value of the data point.

@property (nonatomic) double closeValue

Declared In

DataPoint.h

highValue

A value that determines the high value of the data point.

@property (nonatomic) double highValue

Declared In

DataPoint.h

lowValue

A value that determines the low value of the data point.

@property (nonatomic) double lowValue

Declared In

DataPoint.h

openValue

A value that determines the open value of the data point.

@property (nonatomic) double openValue

Declared In

DataPoint.h

volumeValue

A value that determines the volume of the data point.

@property (nonatomic) double volumeValue

Declared In

DataPoint.h

Instance Methods

initWithOpen:andLow:andHigh:andClose:andLabel:

Initializes IGOHLCPoint with a open, low, high, close values and a label.

- (instancetype)initWithOpen:(double)open andLow:(double)low andHigh:(double)high andClose:(double)close andLabel:(NSString *)label

Parameters

open

Open value of the data point.

low

Low value of the data point.

high

High value of the data point.

close

Close value of the data point.

label

A string label of the data point.

Return Value

Returns an initialized IGOHLCPoint.

Declared In

DataPoint.h

initWithOpen:andLow:andHigh:andClose:andVolume:andLabel:

Initializes IGOHLCPoint with a open, low, high, close values and a label.

- (instancetype)initWithOpen:(double)open andLow:(double)low andHigh:(double)high andClose:(double)close andVolume:(double)volume andLabel:(NSString *)label

Parameters

open

Open value of the data point.

low

Low value of the data point.

high

High value of the data point.

close

Close value of the data point.

volume

Volume value of the data point.

label

A string label of the data point.

Return Value

Returns an initialized IGOHLCPoint.

Declared In

DataPoint.h