Optional
automaticOptional index to use for automatic coloring of series.
Normally series are automatically colored differently when you create several series in the same chart. However, in some cases you might want to alter this order of automatic coloring, or use the automatic color palettes on series that belong to different charts.
In these scenarios you can use automaticColorIndex
to tell each series individually what is its place in the default color palette.
// Create series using the first color in default Theme palette.
const series1 = chart.addLineSeries({ automaticColorIndex: 0 })
// Create another series colored with the 3rd color.
const series2 = chart.addLineSeries({ automaticColorIndex: 2 })
Amount of cells along X axis.
Required!
Surface grid data amount is specified as columns * rows
.
Larger data sets require more memory (RAM) to work. With nearly any setup, tens of millions data points can easily be reached and with good setups even billion (1 000 000 000) data points have been properly visualized.
Optional
dataSpecifies interpretation order for Height and Intensity data when using invalidateHeightMap or invalidateIntensityValues.
'columns'
-> Supply lists of "columns"
const intensityValues = [
[
0, // Intensity value column = 0, row = 0
0, // Intensity value column = 0, row = 1
0, // Intensity value column = 0, row = n
],
[
0, // Intensity value column = 1, row = 0
0, // Intensity value column = 1, row = 1
0, // Intensity value column = 1, row = n
],
]
'rows'
-> Supply lists of "rows"
const intensityValues = [
[
0, // Intensity value row = 0, column = 0
0, // Intensity value row = 0, column = 1
0, // Intensity value row = 0, column = n
],
[
0, // Intensity value row = 1, column = 0
0, // Intensity value row = 1, column = 1
0, // Intensity value row = 1, column = n
],
]
Optional, defaults to 'columns'
.
Optional
endAmount of cells along Z axis.
Required!
Surface grid data amount is specified as columns * rows
.
Larger data sets require more memory (RAM) to work. With nearly any setup, tens of millions data points can easily be reached and with good setups even billion (1 000 000 000) data points have been properly visualized.
Optional
startSpecifies location of first cell on X and Z axes.
Optional, defaults to { x: 0, z: 0 }
Deprecated in v5.1.0. Use setStart instead.
Optional
step
Interface for readonly configuration of SurfaceGridSeries3D.
Required properties:
Optional properties:
All or any of these can be omitted or set to
undefined
, in which case a default value is used.Example usage:
See also addSurfaceScrollingGridSeries.