NChart Properties |
The NChart type exposes the following members.
Name | Description | |
---|---|---|
AdaptiveAntialiasing |
Flag that determines if anti-aliasing is adaptive (true) or not (false). Adaptivity means that it is switched off
automatically for the time-critical periods like user interactions or animation playing. This property takes effect
if ShouldAntialias is true only. The default value is true.
| |
AlwaysPreserveZoomAndPosition |
Flag determining if chart content always preserves zoom and position (true) or not (false). This flag takes effect in 3D
mode only. If this flag is set to false, when you change the frame of the chart, 3D content will be zoomed and shifted
to fit the screen. If this flag is set to true, you should call ResetTransformations to fit the content in the
screen manually. The default value is false.
The common use-case for this flag is when you smoothly change the size of the chart. For such resize
session you should set this flag to true, and after the session you should probably call ResetTransformations.
| |
AutoScrollDuration |
Duration of auto scroll in seconds. The default value is 0.25.
| |
AutoScrollLabel |
Label that indicates whenever automatical scroll is switched on or off. The default value is null.
This label takes effect in 2D mode only.
| |
Background |
Brush that fills the chart's background.
| |
Caption |
Caption of the chart.
| |
CartesianSystem |
Cartesian coordinates system used to store value axes and supplementary visual items.
| |
Delegate |
Chart delegate.
| |
DrawIn3D |
Flag that determines if a chart should be drawn in 3D (true) or in 2D (false). The default value is false.
| |
IncrementalMinMaxMode |
Incremental minimum and maximum calculation mode. This mode makes sense in streaming mode only. If the incremental
mode is on, new minimum cannot be gearter and new maximum cannot be less than the ones calculated on the previous
datasets. The default value is false.
| |
InitialPolarAngle |
Initial rotation angle of the polar coordinate system in radians (has effect in 2D mode only).
The default value is 0 (0 degrees).
This is the angle the chart is rotated back to if you call ResetTransformations method.
| |
InitialXAngle |
Initial rotation angle around the X-Axis (horizontal axis) in radians (has effect in 3D mode only).
The default value is -0.87 (-50 degrees).
This is the angle the chart is rotated back to if you call ResetTransformations method.
| |
InitialYAngle |
Initial rotation angle around the Y-Axis (vertical axis) in radians (has effect in 3D mode only).
The default value is 3.93 (225 degrees).
This is the angle the chart is rotated back to if you call ResetTransformations method.
| |
IsTransitionPlaying |
Check if transition is playing.
| |
Legend |
Legend of the chart.
| |
LicenseKey |
License key of product.
| |
Margin |
Margin of the chart that determines how far the content of chart starts from view's bounds. The default margin is
zero on all sides.
| |
MaxZoom |
Maximal zoom of the chart.After this zoom is reached by user interactions, chart starts bouncing zoom.
The maximal zoom differs in 2D and 3D mode.In 2D mode the default value is recalculated each time the chart is
laid out(by changing of the frame or by updating data) according to the data on the axes in case
ShouldCalculate2DZoomBoundsAutomatically flag is set to true.In 3D the default value is 2.
| |
MinZoom |
Minimal zoom of the chart. After this zoom is reached by user interactions, chart starts bouncing zoom.
The minimal zoom differs in 2D and 3D mode. In 3D mode the default value is 0.5. In 2D it is 1.
| |
PermanentRotationX |
Flag determining if permanent rotation around X-Axis is on (true), or off (false). The default value is false.
Use this flag if you want the chart to rotate around X-Axis without any interactions. This property takes effect in
3D mode only.
| |
PermanentRotationXSpeed |
Speed of permanent rotation around X-Axis (in radians per second). The default value is 0.
See permanentRotationX for more info about permanent rotation.
| |
PermanentRotationY |
Flag determining if permanent rotation around Y-Axis is on (true), or off (false). The default value is false.
Use this flag if you want the chart to rotate around Y-Axis without any interactions. This property takes effect in
3D mode only.
| |
PermanentRotationYSpeed |
Speed of permanent rotation around Y-Axis (in radians per second). The default value is 0.
See PermanentRotationY for more info about permanent rotation.
| |
Pivot |
Pivot of the chart in the internal chart scene coordinates.
Use this property if you want to save and than restore position of the chart. This property works for 2D
and 3D modes. Theoretically you can use this property to pan the chart programmatically, however it is better to use
ZoomToRegionFrom method of NChartValueAxis.
| |
PointSelectionEnabled |
Flag determining if the chart points can be selected by tap (true) or not (false). The default value is true. If you do
not want to select points by tap, it is better to disable selection, because it will save memory and boost the data
updating.
| |
PointsHistoryLength |
Property that determines the maximal length of series' points array. The default value is 1000.
The array of points in series is determined after UpdateData call (by querying points from series'
data sources) and then can be extended after ExtendData call. The property PointsHistoryLength
takes effect by using ExtendData only. The new points are added to the end of the points' array of the
series and if the array exceeds the given length, first n points are deleted, where
n = array.length - pointsHistoryLength | |
PolarAngle |
Rotation angle of the polar coordinate system in radians (has effect in 2D mode only).
| |
PolarSystem |
Polar coordinates system used to store value axes and supplementary visual items.
| |
ScaleLegends |
Scale legends array. It's empty by default.
| |
Series |
Array of series.
| |
ShadingModel |
Shading model that is used in 3D mode. The default value is NChartShadingModelPhong.
This property controls shading for the 3D charts like surfaces, columns, etc.
Shading model for point markers is controlled through their brushes.
This property takes effect in 3D mode only.
| |
ShouldAntialias |
Flag that determines if the image should be anti-aliased (true) or not (false). Antialiasing makes the picture smoother,
but impacts performance. The default value is false.
| |
ShouldAutoScroll |
Flag determining if chart should automatically scroll (true) or not (false) to the end if new data are added by the
ExtendData call. The default value is NO.
This flag takes effect in 2D mode only.
| |
ShouldBouncePan |
Flag that determines if pan should bounce (true) or not (false). The default value is true.
| |
ShouldBounceZoom |
Flag that determines if zoom should bounce (true) or not (false). The default value is true.
| |
ShouldCalculate2DZoomBoundsAutomatically |
Flag determining if zoom in 2D mode should be calculated automatically (true) or not (false). The default value is true.
| |
ShouldConvertZoomToAllowed |
Flag determining if all zoom should be converted to the allowed zoom modes (true) or not (false). The default value is true.
If this flag is true, all the zoom directions are converted to the allowed zoom directions. For example,
if only horizontal zoom is allowed, and user zooms in diagonal direction, chart is zoomed horizontally with this flag
set to true.
| |
ShouldToggleAutoScrollByPan |
Flag determining if automatical scroll should be automatically toggled by pan (true) or not (false). The default value is false.
If this flag is true, automatical scroll is switched on (ShouldAutoScroll is set to true) if user pans
to the right-most position of the chart and switched off (ShouldAutoScroll is set to false) if user pans left.
This flag takes effect in 2D mode only.
| |
ShowFPS |
Flag that determines if FPS rate should be displayed (true) or not (false). You may use this for debug purposes
or if you are just curious, but it's a very bad idea to show FPS in production code, because it results in continuous
rendering that loads CPU and consumes power. If FPS is off, the picture is re-rendered only if it's really needed.
The default value is false.
| |
SizeAxis |
Size axis used to scale the sizes of markers.
| |
StreamingMode |
Flag determining if streaming mode is enabled.
See StreamData
| |
TimeAxis |
Time axis used to navigate through the time ticks.
| |
UseParallelProjection |
Flag that determines if a chart use parallel projection (true) or perspective projection (false) in 3D-mode. The default
value is false.
| |
UserInteractionMode |
Intercation mode used in the chart. The default is NChartUserInteractionAll.
You can use multiple interactions concatenated with bitwise OR to specify the mask of what is available.
| |
VersionInfo |
Get version info.
| |
XAngle |
Rotation angle around the X-Axis (horizontal axis) in radians (has effect in 3D mode only).
| |
YAngle |
Rotation angle around the Y-Axis (vertical axis) in radians (has effect in 3D mode only).
The default value is 3.93 (225 degrees).
| |
Zoom |
Zoom of the chart. The default zoom is 1 which corresponds to the fitting the chart to screen (both in 2D and 3D).
The zooming is proportional. If you want non-proportional zoom in 2D mode, you should use ZoomToRegionFrom method of NChartValueAxis.
If you want to alter the initial zoom, you should change the value of this property after UpdateData call.
| |
ZoomMode |
Zoom mode used in chart. The default is NChartZoomMode.Proportional.
| |
ZoomToPointMode |
Flag that determines if chart is zoomed to the cursor (true) or to the screen center (false). The default value is false.
|