The NChartCartesianSystem class provides methods for managing the chart's cartesian coordinate system. More...
Public Member Functions | |
| NChartValueAxis | getXAxis () |
| X-axis of the cartesian coordinate system. More... | |
| NChartValueAxis | getSXAxis () |
| Secondary X-axis of the cartesian coordinate system. More... | |
| NChartValueAxis | getYAxis () |
| Y-axis of the cartesian coordinate system. More... | |
| NChartValueAxis | getSYAxis () |
| Secondary Y-axis of the cartesian coordinate system. More... | |
| NChartValueAxis | getZAxis () |
| Z-axis of the cartesian coordinate system. More... | |
| NChartValueAxis | getSZAxis () |
| Secondary Z-axis of the cartesian coordinate system. More... | |
| NChartAxesPlane | getXYPlane () |
| XY-axes plane of the cartesian coordinate system. More... | |
| NChartAxesPlane | getXZPlane () |
| XZ-axes plane of the cartesian coordinate system. More... | |
| NChartAxesPlane | getYZPlane () |
| YZ-axes plane of the cartesian coordinate system. More... | |
| NChartAxisGrid | getXAlongY () |
| Grid that goes from the X-axis along the Y-axis. More... | |
| NChartAxisGrid | getXAlongZ () |
| Grid that goes from the X-axis along the Z-axis. More... | |
| NChartAxisGrid | getSXAlongY () |
| Grid that goes from the secondary X-axis along the Y-axis. More... | |
| NChartAxisGrid | getSXAlongZ () |
| Grid that goes from the secondary X-axis along the Z-axis. More... | |
| NChartAxisGrid | getYAlongX () |
| Grid that goes from the Y-axis along the X-axis. More... | |
| NChartAxisGrid | getYAlongZ () |
| Grid that goes from the Y-axis along the Z-axis. More... | |
| NChartAxisGrid | getSYAlongX () |
| Grid that goes from the secondary Y-axis along the X-axis. More... | |
| NChartAxisGrid | getSYAlongZ () |
| Grid that goes from the secondary Y-axis along the Z-axis. More... | |
| NChartAxisGrid | getZAlongX () |
| Grid that goes from the Z-axis along the X-axis. More... | |
| NChartAxisGrid | getZAlongY () |
| Grid that goes from the Z-axis along the Y-axis. More... | |
| NChartAxisGrid | getSZAlongX () |
| Grid that goes from the secondary Z-axis along the X-axis. More... | |
| NChartAxisGrid | getSZAlongY () |
| Grid that goes from the secondary Z-axis along the Y-axis. More... | |
| NChartCartesianPlanesIntersectionCoord | getPlanesIntersectionCoordX () |
| X-Coordinate of the planes intersection point. | |
| NChartCartesianPlanesIntersectionCoord | getPlanesIntersectionCoordY () |
| Y-Coordinate of the planes intersection point. | |
| NChartCartesianPlanesIntersectionCoord | getPlanesIntersectionCoordZ () |
| Z-Coordinate of the planes intersection point. | |
| NChartValueAxesType | getValueAxesType () |
| Type of axes. More... | |
| void | setValueAxesType (NChartValueAxesType valueAxesType) |
| For details see getValueAxesType(). | |
| boolean | isBorderVisible () |
| Flag that determines if the border around the cartesian coordinate system is visible (true) or not (false). | |
| void | setBorderVisible (boolean borderVisible) |
| For details see isBorderVisible(). | |
| int | getBorderColor () |
| Color of the border around the cartesian coordinate system. | |
| void | setBorderColor (int borderColor) |
| For details see getBorderColor(). | |
| float | getBorderThickness () |
| Thickness of the border around the cartesian coordinate system. | |
| void | setBorderThickness (float borderThickness) |
| For details see getBorderThickness(). | |
| void | addCrosshair (NChartCrosshair crosshair) |
| Add crosshair to the cartesian system. More... | |
| void | removeCrosshair (NChartCrosshair crosshair) |
| Remove crosshair from the cartesian system. More... | |
| void | removeAllCrosshairs () |
| Remove all crosshairs from the cartesian system. | |
| void | updateCrosshairs () |
| Force crosshairs to be updated. More... | |
| void | addPlane (NChartPlane plane) |
| Add plane to the cartesian system. More... | |
| void | removePlane (NChartPlane plane) |
| Remove plane from the cartesian system. More... | |
| void | removeAllPlanes () |
| Remove all planes from the cartesian system. | |
| boolean | shouldAutoZoom () |
| Flag determining if auto zoom mode is on (true), or off (false). More... | |
| void | setShouldAutoZoom (boolean shouldAutoZoom) |
| For details see shouldAutoZoom(). | |
| NChartAutoZoomAxes | getAutoZoomAxes () |
| The axes kind (normal, secondary or both) to be auto-zoomed. More... | |
| void | setAutoZoomAxes (NChartAutoZoomAxes autoZoomAxes) |
| For details see getAutoZoomAxes(). | |
| boolean | isSameResolution () |
| Flag indicating that X and Y axes should have same pixel-based resolution (true) or not (false). More... | |
| void | setSameResolution (boolean sameResolution) |
| For details see isSameResolution(). | |
| boolean | isSameResolutionBasedOnSX () |
| Flag telling if the resolution fit is calculated using the secondary X axis (true) or not (false). More... | |
| void | setSameResolutionBasedOnSX (boolean sameResolutionBasedOnSX) |
| For details see isSameResolutionBasedOnSX(). | |
| boolean | isSameResolutionBasedOnSY () |
| Flag telling if the resolution fit is calculated using the secondary Y axis (true) or not (false). More... | |
| void | setSameResolutionBasedOnSY (boolean sameResolutionBasedOnSY) |
| For details see isSameResolutionBasedOnSY(). | |
| NChartSameResolutionStickX | getSameResolutionStickX () |
| Option where to stick the plot area in the X direction for the case when axes should have same resolution. More... | |
| void | setSameResolutionStickX (NChartSameResolutionStickX sameResolutionStickX) |
| For details see getSameResolutionStickX(). | |
| NChartSameResolutionStickY | getSameResolutionStickY () |
| Option where to stick the plot area in the Y direction for the case when axes should have same resolution. More... | |
| void | setSameResolutionStickY (NChartSameResolutionStickY sameResolutionStickY) |
| For details see getSameResolutionStickY(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartCoordSystem | |
| abstract NChartMargin | getMargin () |
| Margin of the coordinate system. | |
| abstract void | setMargin (NChartMargin margin) |
| For details see getMargin(). | |
| abstract NChartMargin | getPlotAreaMargin () |
| Fixed margin for the plot area. More... | |
| abstract void | setPlotAreaMargin (NChartMargin plotAreaMargin) |
| For details see getPlotAreaMargin(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartObject | |
| boolean | isVisible () |
| Flag that determines if the object is visible or not. More... | |
| void | setVisible (boolean visible) |
| For details see isVisible(). | |
| NChart | getChart () |
| Chart the object belongs to. More... | |
Detailed Description
The NChartCartesianSystem class provides methods for managing the chart's cartesian coordinate system.
Member Function Documentation
|
inline |
Add crosshair to the cartesian system.
- Parameters
-
crosshair - crosshair to add.
- See also
- NChartCrosshair
|
inline |
|
inline |
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 true. 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. 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 NChartAutoZoomAxes.NormalAxis, 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.getChart().setUserInteractions((m_view.getChart().getUserInteractionMode()) ^ (NChartUserInteraction.ProportionalZoom | NChartUserInteraction.VerticalZoom | NChartUserInteraction.VerticalMove));, as well as to set the NChart#setZoomMode(NChartZoomMode) to directional: m_view.getChart().setZoomMode(NChartZoomMode.Directional); See also NChartAutoZoomAxes.
|
inline |
Option where to stick the plot area in the X direction for the case when axes should have same resolution.
The default value is NChartSameResolutionStickX#Center. This property takes effect only if isSameResolution() is set to true.
- See also
- NChartSameResolutionStickX
|
inline |
Option where to stick the plot area in the Y direction for the case when axes should have same resolution.
The default value is NChartSameResolutionStickY#Center. This property takes effect only if isSameResolution() is set to true.
- See also
- NChartSameResolutionStickY
|
inline |
Grid that goes from the secondary X-axis along the Y-axis.
- See also
- NChartAxisGrid
|
inline |
Grid that goes from the secondary X-axis along the Z-axis.
- See also
- NChartAxisGrid
|
inline |
Secondary X-axis of the cartesian coordinate system.
- See also
- NChartValueAxis
|
inline |
Grid that goes from the secondary Y-axis along the X-axis.
- See also
- NChartAxisGrid
|
inline |
Grid that goes from the secondary Y-axis along the Z-axis.
- See also
- NChartAxisGrid
|
inline |
Secondary Y-axis of the cartesian coordinate system.
- See also
- NChartValueAxis
|
inline |
Grid that goes from the secondary Z-axis along the X-axis.
- See also
- NChartAxisGrid
|
inline |
Grid that goes from the secondary Z-axis along the Y-axis.
- See also
- NChartAxisGrid
|
inline |
Secondary Z-axis of the cartesian coordinate system.
- See also
- NChartValueAxis
|
inline |
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).
- See also
- NChartValueAxesType
|
inline |
Grid that goes from the X-axis along the Y-axis.
- See also
- NChartAxisGrid
|
inline |
Grid that goes from the X-axis along the Z-axis.
- See also
- NChartAxisGrid
|
inline |
X-axis of the cartesian coordinate system.
- See also
- NChartValueAxis
|
inline |
XY-axes plane of the cartesian coordinate system.
- See also
- NChartAxesPlane
|
inline |
XZ-axes plane of the cartesian coordinate system.
- See also
- NChartAxesPlane
|
inline |
Grid that goes from the Y-axis along the X-axis.
- See also
- NChartAxisGrid
|
inline |
Grid that goes from the Y-axis along the Z-axis.
- See also
- NChartAxisGrid
|
inline |
Y-axis of the cartesian coordinate system.
- See also
- NChartValueAxis
|
inline |
YZ-axes plane of the cartesian coordinate system.
- See also
- NChartAxesPlane
|
inline |
Grid that goes from the Z-axis along the X-axis.
- See also
- NChartAxisGrid
|
inline |
Grid that goes from the Z-axis along the Y-axis.
- See also
- NChartAxisGrid
|
inline |
Z-axis of the cartesian coordinate system.
- See also
- NChartValueAxis
|
inline |
Flag indicating that X and Y axes should have same pixel-based resolution (true) or not (false).
The default value is false. Same resolution means, that 1 axis unit in X axis has exactly the same length in pixels, as 1 axis unit in Y axis. Units are absolute numbers here, so the magnitude difference and potential measurement system difference between axes are not respected. This flag affects the shape of the plot area effectively creating some internal margin to fit the resolutions. This flag takes effect in 2D mode only. Note: The effect of this flag is not guaranteed. If the difference in the scales on the axes is too large, NChart3D might give up and leave the plot area unchanged, not maintaining the same resolution.
|
inline |
Flag telling if the resolution fit is calculated using the secondary X axis (true) or not (false).
The default value is false. This flag takes effect only if isSameResolution() is set to true.
|
inline |
Flag telling if the resolution fit is calculated using the secondary Y axis (true) or not (false).
The default value is false. This flag takes effect only if isSameResolution() is set to true.
|
inline |
Remove crosshair from the cartesian system.
- Parameters
-
crosshair - crosshair to remove.
- See also
- NChartCrosshair
|
inline |
|
inline |
Flag determining if auto zoom mode is on (true), or off (false).
The default value is false. In auto zoom mode, the axis set to be auto-zoomed by the setAutoZoomAxes(NChartAutoZoomAxes) property is zoomed automatically so that the visible part of the chart is fit to the plot area. This property takes effect in 2D mode only.
|
inline |
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.

Public Member Functions inherited from