The NChartScatterArray class provides optimized storage for massive scatter that can be displayed by the NChartScatterSeries. More...
Public Member Functions | |
| NChartScatterArray (NChartRawArrayElementType elementType, ByteBuffer values, long elementsCount) | |
| Create an instance of NChartScatterArray with a direct ByteBuffer of values. More... | |
| NChartScatterArray (NChartRawArrayElementType elementType) | |
| Create an instance of NChartScatterArray without initial values. More... | |
| NChartRawArrayElementType | getElementType () |
| Type of array elements. | |
| ByteBuffer | getValues () |
| Values buffer. More... | |
| long | getElementsCount () |
| Count of elements in the values array. | |
| boolean | isDynamic () |
| Flag indicating if the array is intended to be updated while the NChartScatterSeries is displayed (true) or not (false). More... | |
| void | setIsDynamic (boolean isDynamic) |
| For details see isDynamic(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartMarker | |
| NChartMarkerShape | getShape () |
| Shape of the marker. More... | |
| void | setShape (NChartMarkerShape shape) |
| For details see getShape(). | |
| NChartModel | getModel () |
| Model of the marker. More... | |
| void | setModel (NChartModel model) |
| For details see getModel(). | |
| NChartBrush | getBrush () |
| Brush that fills the marker. More... | |
| void | setBrush (NChartBrush brush) |
| For details see getBrush(). | |
| NChartBrush | getBorderBrush () |
| Brush of the marker's border. More... | |
| void | setBorderBrush (NChartBrush borderBrush) |
| For details see getBorderBrush(). | |
| float | getBorderThickness () |
| Thickness of the marker's border in pixels. More... | |
| void | setBorderThickness (float borderThickness) |
| For details see getBorderThickness(). | |
| float | getAngleX () |
| Rotation of the marker around the X-axis in radians. More... | |
| void | setAngleX (float angleX) |
| For details see getAngleX(). | |
| float | getAngleY () |
| Rotation of the marker around the Y-axis in radians. More... | |
| void | setAngleY (float angleY) |
| For details see getAngleY(). | |
| float | getAngleZ () |
| Rotation of the marker around the Z-axis in radians. More... | |
| void | setAngleZ (float angleZ) |
| For details see getAngleZ(). | |
| float | getSize () |
| Size of the marker. More... | |
| void | setSize (float size) |
| For details see getSize(). | |
| float | getSelectionSize () |
| Size of the marker's touch area (the area you can touch to select the corresponding chart point). More... | |
| void | setSelectionSize (float selectionSize) |
| For details see getSelectionSize(). | |
| int | getResolution () |
| Resolution of the marker. More... | |
| void | setResolution (int resolution) |
| For details see getResolution(). | |
Detailed Description
The NChartScatterArray class provides optimized storage for massive scatter that can be displayed by the NChartScatterSeries.
Constructor & Destructor Documentation
|
inline |
Create an instance of NChartScatterArray with a direct ByteBuffer of values.
- Parameters
-
elementType - type of elements encoded in the values buffer. values - direct ByteBuffer containing the values. This buffer is not copied by NChartScatterArray. You have to store it outside of the chart and ensure that its life and content last at least until the nearest call. After that, you may free or reuse it, but beware, that the nextupdateDatacall will again attempt to access it unless you remove the corresponding NChartScatterSeries from the chart. The buffer must be a direct ByteBuffer with native byte order.updateDataelementsCount - number of elements in the values buffer (i.e. capacity of the buffer in bytes divided by the size of one element).
|
inline |
Create an instance of NChartScatterArray without initial values.
- Parameters
-
elementType - type of elements encoded in the values array.
Member Function Documentation
|
inline |
Values buffer.
Returns the direct ByteBuffer that was passed to the constructor, or
if this instance was created without values.
|
inline |
Flag indicating if the array is intended to be updated while the NChartScatterSeries is displayed (true) or not (false).
The default value is false.

Public Member Functions inherited from