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, retain) NChartBrush *brush
See Also
Declared In
NChartPointState.h
borderBrush
Brush of the point’s border.
@property (nonatomic, retain) NChartBrush *borderBrush
See Also
Declared In
NChartPointState.h
marker
Marker of the point.
@property (nonatomic, retain) 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 


y 

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 


y 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


y 

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 


y 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


value 

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 


value 

height 

Return Value
a new instance of the point state.
Declared In
NChartPointState.h
+ pointStateWithX:Y:Z:
Create free (not aligned) 3Dspace 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 


y 

z 

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 


low 

open 

close 

high 

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 


low 

open 

close 

high 

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 


open 

close 

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 


open 

close 

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 


low 

high 

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 


low 

high 

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 


z 

low 

open 

close 

high 

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 


z 

low 

open 

close 

high 

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 


z 

low 

open 

close 

high 

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 


z 

low 

open 

close 

high 

Return Value
a new instance of the point state.
Declared In
NChartPointState.h
+ pointStateWithX:Y:Value:
Create free (not aligned) 2Dspace point state with value. This is a typical state for heatmap series.
+ (NChartPointState *)pointStateWithX:(double)x Y:(double)y Value:(double)value
Parameters
x 


y 

value 

Return Value
a new instance of the point state.
Declared In
NChartPointState.h
+ pointStateWithX:Y:Z:Value:
Create free (not aligned) 3Dspace 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 


y 

z 

value 

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 


y 

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 


y 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


y 

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 


y 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


y 

z 

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 


value 

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 


value 

height 

Return Value
the initialized instance of a point state.
Declared In
NChartPointState.h
– initWithX:Y:Z:
Init a free (not aligned) 3Dspace 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 


y 

z 

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 


low 

open 

close 

high 

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 


low 

open 

close 

high 

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 


open 

close 

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 


open 

close 

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 


z 

low 

open 

close 

high 

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 


z 

low 

open 

close 

high 

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 


z 

low 

open 

close 

high 

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 


z 

low 

open 

close 

high 

Return Value
the initialized instance of a point state.
Declared In
NChartPointState.h
– initWithX:Y:Value:
Init a free (not aligned) 2Dspace point state with value. This is a typical state for heatmap series.
 (id)initWithX:(double)x Y:(double)y Value:(double)value
Parameters
x 


y 

value 

Return Value
the initialized instance of a point state.
Declared In
NChartPointState.h
– initWithX:Y:Z:Value:
Init a free (not aligned) 3Dspace 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 


y 

z 

value 

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