Skip to content

Type Alias: SplomTrace ​

ts
type SplomTrace = CommonTraceAttributes & object;

Scatter plot matrix: every pair of dimensions as a scatter plot, one cell per pair, with linked selection across cells.

Type Declaration ​

NameTypeDescription
diagonal?SplomTraceDiagonalThe diagonal cells.
dimensions?readonly SplomTraceDimension[]The dimensions of the matrix: one row and one column per dimension, in order (row 0 on top).
marker?SplomTraceMarkerMarker style, the same in every cell: color (per sample, or numbers mapped through colorscale with an optional colorbar), size, symbol, opacity, angle and outline.
selected?SplomTraceSelectedStyle of selected points while a selection is active (box/lasso select in any cell, selectedpoints), in every cell.
showlowerhalf?booleanWhether the cells below the diagonal are drawn.
showupperhalf?booleanWhether the cells above the diagonal are drawn.
text?PerPoint<string | number>Text per sample, shown in hover labels.
type"splom"Trace type.
unselected?SplomTraceUnselectedStyle of unselected points while a selection is active (box/lasso select in any cell, selectedpoints), in every cell.
xaxes?readonly ("x" | `x${number}`)[]The x axis of each dimension, in order ('x', 'x2', …). Default ['x', 'x2', …], one per dimension. Dimension i is drawn along the column of this axis.
yaxes?readonly ("y" | `y${number}`)[]The y axis of each dimension, in order ('y', 'y2', …). Default ['y', 'y2', …], one per dimension. Dimension i is drawn along the row of this axis.

Released under the MIT License.