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 })
Optional axisXOptional non-default X Axis to attach series to.
By default, series are attached to the same X Axis, that is returned by getDefaultAxisX.
Optional axisYOptional non-default Y Axis to attach series to.
By default, series are attached to the same Y Axis, that is returned by getDefaultAxisY.
Amount of columns (values on X Axis).
Optional dataSpecify how to interpret grid matrix values supplied by user.
'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
],
]
Defaults to 'columns'.
Optional heatmapSelection of format in which heatmap values are supplied.
'intensity' | numeric value that can be colored with an associated color look up table.
Defaults to 'intensity'.
Amount of rows (values on Y Axis).
Optional xOptional non-default X Axis to attach series to.
By default, series are attached to the same X Axis, that is returned by getDefaultAxisX.
Optional yOptional non-default Y Axis to attach series to.
By default, series are attached to the same Y Axis, that is returned by getDefaultAxisY.
Interface describing readonly configurations of a HeatmapGridSeries.
Required properties:
Optional properties: