NChartCartesianSystem Class Reference
| Inherits from | NChartCoordSystem : NChartObject : NSObject |
|---|---|
| Declared in | NChartCartesianSystem.h |
Overview
The NChartCartesianSystem class provides methods for managing the chart’s cartesian coordinate system.
xAxis
X-axis of the cartesian coordinate system.
@property (nonatomic, readonly) NChartValueAxis *xAxisSee Also
Declared In
NChartCartesianSystem.h
sxAxis
Secondary X-axis of the cartesian coordinate system.
@property (nonatomic, readonly) NChartValueAxis *sxAxisSee Also
Declared In
NChartCartesianSystem.h
yAxis
Y-axis of the cartesian coordinate system.
@property (nonatomic, readonly) NChartValueAxis *yAxisSee Also
Declared In
NChartCartesianSystem.h
syAxis
Secondary Y-axis of the cartesian coordinate system.
@property (nonatomic, readonly) NChartValueAxis *syAxisSee Also
Declared In
NChartCartesianSystem.h
zAxis
Z-axis of the cartesian coordinate system.
@property (nonatomic, readonly) NChartValueAxis *zAxisSee Also
Declared In
NChartCartesianSystem.h
szAxis
Secondary Z-axis of the cartesian coordinate system.
@property (nonatomic, readonly) NChartValueAxis *szAxisSee Also
Declared In
NChartCartesianSystem.h
xyPlane
XY-axes plane of the cartesian coordinate system.
@property (nonatomic, readonly) NChartAxesPlane *xyPlaneSee Also
Declared In
NChartCartesianSystem.h
xzPlane
XZ-axes plane of the cartesian coordinate system.
@property (nonatomic, readonly) NChartAxesPlane *xzPlaneSee Also
Declared In
NChartCartesianSystem.h
yzPlane
YZ-axes plane of the cartesian coordinate system.
@property (nonatomic, readonly) NChartAxesPlane *yzPlaneSee Also
Declared In
NChartCartesianSystem.h
xAlongY
Grid that goes from the X-axis along the Y-axis.
@property (nonatomic, readonly) NChartAxisGrid *xAlongYSee Also
Declared In
NChartCartesianSystem.h
xAlongZ
Grid that goes from the X-axis along the Z-axis.
@property (nonatomic, readonly) NChartAxisGrid *xAlongZSee Also
Declared In
NChartCartesianSystem.h
sxAlongY
Grid that goes from secondary the X-axis along the Y-axis.
@property (nonatomic, readonly) NChartAxisGrid *sxAlongYSee Also
Declared In
NChartCartesianSystem.h
sxAlongZ
Grid that goes from secondary the X-axis along the Z-axis.
@property (nonatomic, readonly) NChartAxisGrid *sxAlongZSee Also
Declared In
NChartCartesianSystem.h
yAlongX
Grid that goes from the Y-axis along the X-axis.
@property (nonatomic, readonly) NChartAxisGrid *yAlongXSee Also
Declared In
NChartCartesianSystem.h
yAlongZ
Grid that goes from the Y-axis along the Z-axis.
@property (nonatomic, readonly) NChartAxisGrid *yAlongZSee Also
Declared In
NChartCartesianSystem.h
syAlongX
Grid that goes from secondary the Y-axis along the X-axis.
@property (nonatomic, readonly) NChartAxisGrid *syAlongXSee Also
Declared In
NChartCartesianSystem.h
syAlongZ
Grid that goes from secondary the Y-axis along the Z-axis.
@property (nonatomic, readonly) NChartAxisGrid *syAlongZSee Also
Declared In
NChartCartesianSystem.h
zAlongX
Grid that goes from the Z-axis along the X-axis.
@property (nonatomic, readonly) NChartAxisGrid *zAlongXSee Also
Declared In
NChartCartesianSystem.h
zAlongY
Grid that goes from the Z-axis along the Y-axis.
@property (nonatomic, readonly) NChartAxisGrid *zAlongYSee Also
Declared In
NChartCartesianSystem.h
szAlongX
Grid that goes from secondary the Z-axis along the X-axis.
@property (nonatomic, readonly) NChartAxisGrid *szAlongXSee Also
Declared In
NChartCartesianSystem.h
szAlongY
Grid that goes from secondary the Z-axis along the Y-axis.
@property (nonatomic, readonly) NChartAxisGrid *szAlongYSee Also
Declared In
NChartCartesianSystem.h
planesIntersectionCoordX
X-Coordinate of the planes intersection point.
@property (nonatomic, readonly) NChartCartesianPlanesIntersectionCoord *planesIntersectionCoordXDeclared In
NChartCartesianSystem.h
planesIntersectionCoordY
Y-Coordinate of the planes intersection point.
@property (nonatomic, readonly) NChartCartesianPlanesIntersectionCoord *planesIntersectionCoordYDeclared In
NChartCartesianSystem.h
planesIntersectionCoordZ
Z-Coordinate of the planes intersection point.
@property (nonatomic, readonly) NChartCartesianPlanesIntersectionCoord *planesIntersectionCoordZDeclared In
NChartCartesianSystem.h
valueAxesType
Type of axes. You may use additional and percent axes only if you provide ticks for category axes. For example, if you are about to display additional columns, you should provide ticks for the X and Z axes. If you are about to display additional bars, you should provide ticks for Y and Z axes respectively (because bars are stretched along the X-axis). If you didn’t provide ticks for category axes, changing the type to additional or percent takes no effect for the series displayed even though states of their points are aligned to the grid (see NChartPointState for details).
@property (nonatomic, assign) NChartValueAxesType valueAxesTypeSee Also
Declared In
NChartCartesianSystem.h
borderVisible
Flag that determines if the border around the cartesian coordinate system is visible (YES) or not (NO).
@property (nonatomic, assign) BOOL borderVisibleDeclared In
NChartCartesianSystem.h
borderColor
Color of the border around the cartesian coordinate system.
@property (nonatomic, strong) NSColor *borderColorDeclared In
NChartCartesianSystem.h
borderThickness
Thickness of the border around the cartesian coordinate system.
@property (nonatomic, assign) float borderThicknessDeclared In
NChartCartesianSystem.h
– addCrosshair:
Add crosshair to the cartesian system.
- (void)addCrosshair:(NChartCrosshair *)crosshairParameters
crosshair |
|
|---|
See Also
Declared In
NChartCartesianSystem.h
– removeCrosshair:
Remove crosshair from the cartesian system.
- (void)removeCrosshair:(NChartCrosshair *)crosshairParameters
crosshair |
|
|---|
See Also
Declared In
NChartCartesianSystem.h
– removeAllCrosshairs
Remove all crosshairs from the cartesian system.
- (void)removeAllCrosshairsDeclared In
NChartCartesianSystem.h
– updateCrosshairs
Force crosshairs to be updated.
Use this method if you changed values of crosshairs and want to apply them without calling
updateData of the chart. If crosshairs are the only changed chart items, this is much more efficient way
to make the changes visible than updating entire chart.
- (void)updateCrosshairsDeclared In
NChartCartesianSystem.h
– addPlane:
Add plane to the cartesian system.
- (void)addPlane:(NChartPlane *)planeParameters
plane |
|
|---|
See Also
Declared In
NChartCartesianSystem.h
– removePlane:
Remove plane from the cartesian system.
- (void)removePlane:(NChartPlane *)planeParameters
plane |
|
|---|
See Also
Declared In
NChartCartesianSystem.h
– removeAllPlanes
Remove all planes from the cartesian system
- (void)removeAllPlanesDeclared In
NChartCartesianSystem.h
shouldAutoZoom
Flag determining if auto zoom mode is on (YES), or off (NO). The default value is NO.
In auto zoom mode, the axis set to be auto-zoomed by the autoZoomAxes property is zoomed
automatically so that the visible part of the chart is fit to the plot area.
@property (nonatomic, assign) BOOL shouldAutoZoomDiscussion
This property takes effect in 2D mode only.
Declared In
NChartCartesianSystem.h
autoZoomAxes
The axes kind (normal, secondary or both) to be auto-zoomed. The default value is NChartAutoZoomNormalAxis.
The axes set to be auto-zoomed are zoomed by panning so that the visible part of the chart is fit to the
plot area, if shouldAutoZoom is YES. If axes are not swapped (you are not using bar series), the axes to zoom are
Y and SY. In other case, they are X and SX.
@property (nonatomic, assign) NChartAutoZoomAxes autoZoomAxesDiscussion
This property takes effect in 2D mode only.
It is strongly recommended to disable the user interactions related to the direction of the axes which should be
zoomed automatically. For example, if you set autoZoomAxes to NChartAutoZoomNormalAxis,
and the axis are not swapped (you are not using bar series, so the axes to zoom are Y and SY), you are recommended
to disable proportional zoom, vertical zoom and vertical pan:
m_view.chart.userInteractions = (m_view.chart.userInteractionMode) ^ (NChartUserInteractionProportionalZoom | NChartUserInteractionVerticalZoom | NChartUserInteractionVerticalMove);,
as well as to set the zoomMode to directional:
m_view.chart.zoomMode = NChartZoomModeDirectional;
See Also
Declared In
NChartCartesianSystem.h