NChartPointState Class Reference

Inherits from NSObject
Declared in NChartPointState.h

Overview

The NChartPointState class provides methods to store state of a point. The state of a point is a complex of parameters such as position, brush used etc. for a particular period for a particular point. Each chart point should have at least one state representing the data from the data source for this point, but it can have multiple states. This allows the animation of a chart through time, while each NChartPointState represents the state of the point in a particular time tick. The transition from one state to another is animated automatically by linear interpolation of parameters stored in the states.

  brush

Brush that fills the point.

@property (nonatomic, strong) NChartBrush *brush

See Also

Declared In

NChartPointState.h

  borderBrush

Brush of the point’s border.

@property (nonatomic, strong) NChartBrush *borderBrush

See Also

Declared In

NChartPointState.h

  marker

Marker of the point.

@property (nonatomic, strong) NChartMarker *marker

See Also

Declared In

NChartPointState.h

+ pointStateAlignedToXWithX:Y:

Create a point state representing the point that is aligned to the X grid. This is a typical state for column, area, line and ribbon series if drawn in 2D.

+ (NChartPointState *)pointStateAlignedToXWithX:(NSInteger)x Y:(double)y

Parameters

x
  • integer value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXWithDateX:Y:

Create a point state representing the point that is aligned to the X date grid. This is a typical state for column, area, line and ribbon series if drawn in 2D.

+ (NChartPointState *)pointStateAlignedToXWithDateX:(NSDate *)x Y:(double)y

Parameters

x
  • date value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithX:Y:Z:

Create a point state representing the point that is aligned to the XZ grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. This can also be used for a surface.

+ (NChartPointState *)pointStateAlignedToXZWithX:(NSInteger)x Y:(double)y Z:(NSInteger)z

Parameters

x
  • integer value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • integer value on the Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithDateX:Y:dateZ:

Create a point state representing the point that is aligned to the XZ date grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. This can also be used for a surface.

+ (NChartPointState *)pointStateAlignedToXZWithDateX:(NSDate *)x Y:(double)y dateZ:(NSDate *)z

Parameters

x
  • date value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • date value on the Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithDateX:Y:Z:

Create a point state representing the point that is aligned to the X date grid and Z grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. This can also be used for a surface.

+ (NChartPointState *)pointStateAlignedToXZWithDateX:(NSDate *)x Y:(double)y Z:(NSInteger)z

Parameters

x
  • date value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • integer value on the Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithX:Y:dateZ:

Create a point state representing the point that is aligned to the X grid and Z date grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. This can also be used for a surface.

+ (NChartPointState *)pointStateAlignedToXZWithX:(NSInteger)x Y:(double)y dateZ:(NSDate *)z

Parameters

x
  • integer value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • date value on the Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYWithX:Y:

Create a point state representing the point that is aligned to the Y grid. This is a typical state for bar series if drawn in 2D.

+ (NChartPointState *)pointStateAlignedToYWithX:(double)x Y:(NSInteger)y

Parameters

x
  • double value on X axis that represents the height value.
y
  • integer value on Y axis that represents the first category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYWithX:dateY:

Create a point state representing the point that is aligned to the Y date grid. This is a typical state for bar series if drawn in 2D.

+ (NChartPointState *)pointStateAlignedToYWithX:(double)x dateY:(NSDate *)y

Parameters

x
  • double value on X axis that represents the height value.
y
  • date value on Y axis that represents the first category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYZWithX:Y:Z:

Create a point state representing the point that is aligned to the YZ grid. This is a typical state for bar series if drawn in 3D.

+ (NChartPointState *)pointStateAlignedToYZWithX:(double)x Y:(NSInteger)y Z:(NSInteger)z

Parameters

x
  • double value on X axis that represents the height value.
y
  • integer value on Y axis that represents the first category.
z
  • integer value on Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYZWithX:dateY:dateZ:

Create a point state representing the point that is aligned to the YZ date grid. This is a typical state for bar series if drawn in 3D.

+ (NChartPointState *)pointStateAlignedToYZWithX:(double)x dateY:(NSDate *)y dateZ:(NSDate *)z

Parameters

x
  • double value on X axis that represents the height value.
y
  • date value on Y axis that represents the first category.
z
  • date value on Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYZWithX:dateY:Z:

Create a point state representing the point that is aligned to the Y date grid and Z grid. This is a typical state for bar series if drawn in 3D.

+ (NChartPointState *)pointStateAlignedToYZWithX:(double)x dateY:(NSDate *)y Z:(NSInteger)z

Parameters

x
  • double value on X axis that represents the height value.
y
  • date value on Y axis that represents the first category.
z
  • integer value on Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYZWithX:Y:dateZ:

Create a point state representing the point that is aligned to the Y grid and Z date grid. This is a typical state for bar series if drawn in 3D.

+ (NChartPointState *)pointStateAlignedToYZWithX:(double)x Y:(NSInteger)y dateZ:(NSDate *)z

Parameters

x
  • double value on X axis that represents the height value.
y
  • integer value on Y axis that represents the first category.
z
  • date value on Z axis that represents the second category.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateWithCircle:value:

Create a point state representing the point that is aligned to the concentric circles. This is a typical state for pie series if drawn in 2D.

+ (NChartPointState *)pointStateWithCircle:(NSInteger)circle value:(double)value

Parameters

circle
  • number of circle among concentric circles that represents the category.
value
  • value of the state that affects the angle of the sector. The angle will represent the percent of the value among all values in the circle this state belongs to.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateWithCircle:value:height:

Create a point state representing the point that is aligned to the concentric circles and has the height. This is a typical state for pie series if drawn in 3D.

+ (NChartPointState *)pointStateWithCircle:(NSInteger)circle value:(double)value height:(double)height

Parameters

circle
  • number of circle among concentric circles that represents the category.
value
  • value of the state that affects the angle of the sector. The angle will represent the percent of the value among all values in the circle this state belongs to.
height
  • height of sector. The height should be in interval 0..1. It is not connected to any axis, so the value is not mapped. You may use it to visually group sectors or to stress some of them.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateWithX:Y:Z:

Create free (not aligned) 3D-space point state. This is a typical state for bubble or surface series. But you may use this for other series types too.

+ (NChartPointState *)pointStateWithX:(double)x Y:(double)y Z:(double)z

Parameters

x
  • double value on the X axis that represents the abscissa of a position.
y
  • double value on the Y axis that represents the ordinate of a position.
z
  • double value on the Z axis that represents the applicate of a position.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXWithX:low:open:close:high:

Create a point state that is aligned to the X grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 2D.

+ (NChartPointState *)pointStateAlignedToXWithX:(NSInteger)x low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • integer value on the X axis that represents the category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXWithDateX:low:open:close:high:

Create a point state that is aligned to the X date grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 2D.

+ (NChartPointState *)pointStateAlignedToXWithDateX:(NSDate *)x low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • date value on the X axis that represents the category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYWithY:open:close:

Create a point state that is aligned to the Y grid and has open and close values. This is the a typical state for a sequence series drawn in 2D.

+ (NChartPointState *)pointStateAlignedToYWithY:(NSInteger)y open:(double)open close:(double)close

Parameters

y
  • integer value on the Y axis that represents the category.
open
  • double value on the X axis that represents the “open” value.
close
  • double value on the X axis that represents the “close” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToYWithDateY:open:close:

Create a point state that is aligned to the Y date grid and has open and close values. This is the a typical state for a sequence series drawn in 2D.

+ (NChartPointState *)pointStateAlignedToYWithDateY:(NSDate *)y open:(double)open close:(double)close

Parameters

y
  • date value on the Y axis that represents the category.
open
  • double value on the X axis that represents the “open” value.
close
  • double value on the X axis that represents the “close” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXWithX:low:high:

Create a point state that is aligned to the X grid and has low and high values. This is the a typical state for a band series drawn in 2D.

+ (NChartPointState *)pointStateAlignedToXWithX:(NSInteger)x low:(double)low high:(double)high

Parameters

x
  • integer value on the X axis that represents the category.
low
  • double value on the Y axis that represents the “low” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXWithDateX:low:high:

Create a point state that is aligned to the X date grid and has low and high values. This is the a typical state for a band series drawn in 2D.

+ (NChartPointState *)pointStateAlignedToXWithDateX:(NSDate *)x low:(double)low high:(double)high

Parameters

x
  • date value on the X axis that represents the category.
low
  • double value on the Y axis that represents the “low” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithX:Z:low:open:close:high:

Create a point state that is aligned to the XZ grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

+ (NChartPointState *)pointStateAlignedToXZWithX:(NSInteger)x Z:(NSInteger)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • integer value on the X axis that represents the first category.
z
  • integer value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithDateX:dateZ:low:open:close:high:

Create a point state that is aligned to the XZ date grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

+ (NChartPointState *)pointStateAlignedToXZWithDateX:(NSDate *)x dateZ:(NSDate *)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • date value on the X axis that represents the first category.
z
  • date value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithDateX:Z:low:open:close:high:

Create a point state that is aligned to the X date grid and Z grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

+ (NChartPointState *)pointStateAlignedToXZWithDateX:(NSDate *)x Z:(NSInteger)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • date value on the X axis that represents the first category.
z
  • integer value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateAlignedToXZWithX:dateZ:low:open:close:high:

Create a point state that is aligned to the X grid and Z date grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

+ (NChartPointState *)pointStateAlignedToXZWithX:(NSInteger)x dateZ:(NSDate *)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • integer value on the X axis that represents the first category.
z
  • date value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateWithX:Y:Value:

Create free (not aligned) 2D-space point state with value. This is a typical state for heatmap series.

+ (NChartPointState *)pointStateWithX:(double)x Y:(double)y Value:(double)value

Parameters

x
  • double value on the X axis that represents the abscissa of a position.
y
  • double value on the Y axis that represents the ordinate of a position.
value
  • value of the state that represents the amount of entity displayed by series.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

+ pointStateWithX:Y:Z:Value:

Create free (not aligned) 3D-space point state with value. This is a typical state for surface series colored not by height, but by fourth component value.

+ (NChartPointState *)pointStateWithX:(double)x Y:(double)y Z:(double)z Value:(double)value

Parameters

x
  • double value on the X axis that represents the abscissa of a position.
y
  • double value on the Y axis that represents the ordinate of a position.
z
  • double value on the Z axis that represents the ordinate of a position.
value
  • value of the state that represents the amount of entity displayed by series.

Return Value

a new instance of the point state.

Declared In

NChartPointState.h

– initAlignedToXWithX:Y:

Init a point state representing the point that is aligned to the X grid. This is a typical state for column, area, line and ribbon series if drawn in 2D.

- (id)initAlignedToXWithX:(NSInteger)x Y:(double)y

Parameters

x
  • integer value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXWithDateX:Y:

Init a point state representing the point that is aligned to the X date grid. This is a typical state for column, area, line and ribbon series if drawn in 2D.

- (id)initAlignedToXWithDateX:(NSDate *)x Y:(double)y

Parameters

x
  • date value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithX:Y:Z:

Init a point state representing the point that is aligned to the XZ grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. It can also be used for a surface series.

- (id)initAlignedToXZWithX:(NSInteger)x Y:(double)y Z:(NSInteger)z

Parameters

x
  • integer value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • integer value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithDateX:Y:dateZ:

Init a point state representing the point that is aligned to the XZ date grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. It can also be used for a surface series.

- (id)initAlignedToXZWithDateX:(NSDate *)x Y:(double)y dateZ:(NSDate *)z

Parameters

x
  • date value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • date value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithDateX:Y:Z:

Init a point state representing the point that is aligned to the X date grid and Z grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. It can also be used for a surface series.

- (id)initAlignedToXZWithDateX:(NSDate *)x Y:(double)y Z:(NSInteger)z

Parameters

x
  • date value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • integer value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithX:Y:dateZ:

Init a point state representing the point that is aligned to the X grid and Z date grid. This is a typical state for column, area, line and ribbon series if drawn in 3D. It can also be used for a surface series.

- (id)initAlignedToXZWithX:(NSInteger)x Y:(double)y dateZ:(NSDate *)z

Parameters

x
  • integer value on the X axis that represents the first category.
y
  • double value on the Y axis that represents the height value.
z
  • date value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYWithX:Y:

Init a point state representing the point that is aligned to the the Y grid. This is a typical state for bar series if drawn in 2D.

- (id)initAlignedToYWithX:(double)x Y:(NSInteger)y

Parameters

x
  • double value on the X axis that represents the height value.
y
  • integer value on the Y axis that represents the first category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYWithX:dateY:

Init a point state representing the point that is aligned to the the Y date grid. This is a typical state for bar series if drawn in 2D.

- (id)initAlignedToYWithX:(double)x dateY:(NSDate *)y

Parameters

x
  • double value on the X axis that represents the height value.
y
  • date value on the Y axis that represents the first category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYZWithX:Y:Z:

Init a point state representing the point that is aligned to the YZ grid. This is a typical state for bar series if drawn in 3D.

- (id)initAlignedToYZWithX:(double)x Y:(NSInteger)y Z:(NSInteger)z

Parameters

x
  • double value on the X axis that represents the height value.
y
  • integer value on the Y axis that represents the first category.
z
  • integer value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYZWithX:dateY:dateZ:

Init a point state representing the point that is aligned to the YZ date grid. This is a typical state for bar series if drawn in 3D.

- (id)initAlignedToYZWithX:(double)x dateY:(NSDate *)y dateZ:(NSDate *)z

Parameters

x
  • double value on the X axis that represents the height value.
y
  • date value on the Y axis that represents the first category.
z
  • date value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYZWithX:dateY:Z:

Init a point state representing the point that is aligned to the Y date grid and Z grid. This is a typical state for bar series if drawn in 3D.

- (id)initAlignedToYZWithX:(double)x dateY:(NSDate *)y Z:(NSInteger)z

Parameters

x
  • double value on the X axis that represents the height value.
y
  • date value on the Y axis that represents the first category.
z
  • integer value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYZWithX:Y:dateZ:

Init a point state representing the point that is aligned to the Y grid and Z date grid. This is a typical state for bar series if drawn in 3D.

- (id)initAlignedToYZWithX:(double)x Y:(NSInteger)y dateZ:(NSDate *)z

Parameters

x
  • double value on the X axis that represents the height value.
y
  • integer value on the Y axis that represents the first category.
z
  • date value on the Z axis that represents the second category.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initWithCircle:value:

Init a point state representing the point that is aligned to the concentric circles. This is a typical state for pie series if drawn in 2D.

- (id)initWithCircle:(NSInteger)circle value:(double)value

Parameters

circle
  • number of circle among concentric circles that represents the category.
value
  • value of the state that affects the angle of the sector. The angle will represent the percent of the value among all values in the circle this state belongs to.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initWithCircle:value:height:

Init a point state representing the point that is aligned to the concentric circles and has the height. This is a typical state for pie series if drawn in 3D.

- (id)initWithCircle:(NSInteger)circle value:(double)value height:(double)height

Parameters

circle
  • number of circle among concentric circles that represents the category.
value
  • value of the state that affects the angle of the sector. The angle will represent the percent of the value among all values in the circle this state belongs to.
height
  • height of sector. The height should be in interval 0..1. It is not connected to any axis, so the value is not mapped. You may use it to visually group sectors or to stress some of them.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initWithX:Y:Z:

Init a free (not aligned) 3D-space point. This is a typical state for bubble or surface series, but you may use this for other series types too.

- (id)initWithX:(double)x Y:(double)y Z:(double)z

Parameters

x
  • double value on the X axis that represents the abscissa of a position.
y
  • double value on the Y axis that represents the ordinate of a position.
z
  • double value on the Z axis that represents the applicate of a position.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXWithX:low:open:close:high:

Init a point state that is aligned to the X grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 2D.

- (id)initAlignedToXWithX:(NSInteger)x low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • integer value on the X axis that represents the category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXWithDateX:low:open:close:high:

Init a point state that is aligned to the X date grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 2D.

- (id)initAlignedToXWithDateX:(NSDate *)x low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • date value on the X axis that represents the category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYWithY:open:close:

Init a point state that is aligned to the Y grid and has open and close values. This is a typical state for a sequence series drawn in 2D.

- (id)initAlignedToYWithY:(NSInteger)y open:(double)open close:(double)close

Parameters

y
  • integer value on the Y axis that represents the category.
open
  • double value on the X axis that represents the “open” value.
close
  • double value on the X axis that represents the “close” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToYWithDateY:open:close:

Init a point state that is aligned to the Y date grid and has open and close values. This is a typical state for a sequence series drawn in 2D.

- (id)initAlignedToYWithDateY:(NSDate *)y open:(double)open close:(double)close

Parameters

y
  • date value on the Y axis that represents the category.
open
  • double value on the X axis that represents the “open” value.
close
  • double value on the X axis that represents the “close” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithX:Z:low:open:close:high:

Init a point state that is aligned to the XZ grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

- (id)initAlignedToXZWithX:(NSInteger)x Z:(NSInteger)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • integer value on the X axis that represents the first category.
z
  • integer value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithDateX:dateZ:low:open:close:high:

Init a point state that is aligned to the XZ date grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

- (id)initAlignedToXZWithDateX:(NSDate *)x dateZ:(NSDate *)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • date value on the X axis that represents the first category.
z
  • date value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithDateX:Z:low:open:close:high:

Init a point state that is aligned to the X date grid and Z grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

- (id)initAlignedToXZWithDateX:(NSDate *)x Z:(NSInteger)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • date value on the X axis that represents the first category.
z
  • integer value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initAlignedToXZWithX:dateZ:low:open:close:high:

Init a point state that is aligned to the X grid and Z date grid and has low, open, close and high values. This is a typical state for candlestick series drawn in 3D.

- (id)initAlignedToXZWithX:(NSInteger)x dateZ:(NSDate *)z low:(double)low open:(double)open close:(double)close high:(double)high

Parameters

x
  • integer value on the X axis that represents the first category.
z
  • date value on the Z axis that represents the second category.
low
  • double value on the Y axis that represents the “low” value.
open
  • double value on the Y axis that represents the “open” value.
close
  • double value on the Y axis that represents the “close” value.
high
  • double value on the Y axis that represents the “high” value.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initWithX:Y:Value:

Init a free (not aligned) 2D-space point state with value. This is a typical state for heatmap series.

- (id)initWithX:(double)x Y:(double)y Value:(double)value

Parameters

x
  • double value on the X axis that represents the abscissa of a position.
y
  • double value on the Y axis that represents the ordinate of a position.
value
  • value of the state that represents the amount of entity displayed by series.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

– initWithX:Y:Z:Value:

Init a free (not aligned) 3D-space point state with value. This is a typical state for surface series colored not by height, but by fourth component value.

- (id)initWithX:(double)x Y:(double)y Z:(double)z Value:(double)value

Parameters

x
  • double value on the X axis that represents the abscissa of a position.
y
  • double value on the Y axis that represents the ordinate of a position.
z
  • double value on the Z axis that represents the ordinate of a position.
value
  • value of the state that represents the amount of entity displayed by series.

Return Value

the initialized instance of a point state.

Declared In

NChartPointState.h

  intX

Integer X value of a point state.

@property (nonatomic, assign) NSInteger intX

Declared In

NChartPointState.h

  doubleX

Double X value of a point state.

@property (nonatomic, assign) double doubleX

Declared In

NChartPointState.h

  dateX

Date X value of a point state.

@property (nonatomic, assign) NSDate *dateX

Discussion

This property does not store the object of NSDate, but you can still query the date through this property and obtain newly created and autoreleased NSDate object.

Declared In

NChartPointState.h

  intY

Integer Y value of a point state.

@property (nonatomic, assign) NSInteger intY

Declared In

NChartPointState.h

  doubleY

Double Y value of a point state.

@property (nonatomic, assign) double doubleY

Declared In

NChartPointState.h

  dateY

Date Y value of a point state.

@property (nonatomic, assign) NSDate *dateY

Discussion

This property does not store the object of NSDate, but you can still query the date through this property and obtain newly created and autoreleased NSDate object.

Declared In

NChartPointState.h

  intZ

Integer Z value of a point state.

@property (nonatomic, assign) NSInteger intZ

Declared In

NChartPointState.h

  doubleZ

Double Z value of a point state.

@property (nonatomic, assign) double doubleZ

Declared In

NChartPointState.h

  dateZ

Date Z value of a point state.

@property (nonatomic, assign) NSDate *dateZ

Discussion

This property does not store the object of NSDate, but you can still query the date through this property and obtain newly created and autoreleased NSDate object.

Declared In

NChartPointState.h

  circle

Circle of a point state. See initWithCircle: value: for details.

@property (nonatomic, assign) NSInteger circle

Declared In

NChartPointState.h

  value

Value of a point state. See initWithCircle: value: for details.

@property (nonatomic, assign) double value

Declared In

NChartPointState.h

  height

Height of a point state. See initWithCircle: value: height: for details.

@property (nonatomic, assign) double height

Declared In

NChartPointState.h

  low

Low value of a point state. See initAlignedToXWithX: low: open: close: high: for details.

@property (nonatomic, assign) double low

Declared In

NChartPointState.h

  close

Close value of a point state. See initAlignedToXWithX: low: open: close: high: for details.

@property (nonatomic, assign) double close

Declared In

NChartPointState.h

  open

Open value of a point state. See initAlignedToXWithX: low: open: close: high: for details.

@property (nonatomic, assign) double open

Declared In

NChartPointState.h

  high

High value of a point state. See initAlignedToXWithX: low: open: close: high: for details.

@property (nonatomic, assign) double high

Declared In

NChartPointState.h