Interface: Chart3dOptions
Options every 3D function takes: the columns, error bars and the scene's axes.
Extends
Extended by
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
animationFrame? | readonly | ColumnRef | Column of frame values: one frame per value (in categoryOrders / first-appearance order), with a Play / Pause update menu and a slider. Axis ranges are fixed across frames. | AnimationFrameOptions.animationFrame |
animationGroup? | readonly | ColumnRef | Column matching rows across frames (ids), so each object moves rather than being replaced. | AnimationFrameOptions.animationGroup |
categoryOrders? | readonly | Readonly<Record<string, readonly unknown[]>> | Value orders per column: { day: ['Thu', 'Fri', 'Sat', 'Sun'] }. They order the traces and legend (for grouping columns), facets, frames and category axes. Values not listed follow in order of first appearance; listed values without rows still take a color and a facet (as px). | CommonOptions.categoryOrders |
color? | readonly | ColumnRef | Column to color by. | DiscreteColorOptions.color |
colorDiscreteMap? | readonly | Readonly<Record<string, string>> | "identity" | Fixed colors per value of color ({ Asia: 'red' }); other values continue with the sequence. 'identity': the values are colors themselves (no legend entries for them). | DiscreteColorOptions.colorDiscreteMap |
colorDiscreteSequence? | readonly | readonly string[] | Colors for the values of color, in order. Default: the template's colorway. | DiscreteColorOptions.colorDiscreteSequence |
customData? | readonly | readonly ColumnRef[] | Columns put in customdata (first, before hoverData's), e.g. for click handlers. | HoverOptions.customData |
errorX? | readonly | ColumnRef | Column of x error sizes (error_x.array). | - |
errorXMinus? | readonly | ColumnRef | Column of x error sizes below (error_x.arrayminus). | - |
errorY? | readonly | ColumnRef | Column of y error sizes (error_y.array). | - |
errorYMinus? | readonly | ColumnRef | Column of y error sizes below (error_y.arrayminus). | - |
errorZ? | readonly | ColumnRef | Column of z error sizes (error_z.array). | - |
errorZMinus? | readonly | ColumnRef | Column of z error sizes below (error_z.arrayminus). | - |
height? | readonly | number | Figure height in px (layout.height). | CommonOptions.height |
hoverData? | readonly | | readonly ColumnRef[] | Readonly<Record<string, string | boolean>> | More columns for the hover label, through customdata: a list of columns, or an object that adds columns (true), removes lines (false, e.g. { x: false }) or formats them (':.2f', `' | %Y'`). |
hoverName? | readonly | ColumnRef | Column shown in bold at the top of the hover label (hovertext). | HoverOptions.hoverName |
labels? | readonly | Readonly<Record<string, string>> | Display names of columns: { gdpPercap: 'GDP per capita' }. Used for axis titles, hover lines, the legend title, facet labels, the colorbar title and the animation slider. | CommonOptions.labels |
logX? | readonly | boolean | Log x axis (scene.xaxis.type: 'log'). | - |
logY? | readonly | boolean | Log y axis. | - |
logZ? | readonly | boolean | Log z axis. | - |
rangeX? | readonly | readonly [unknown, unknown] | Fixed x range, in data units (log axes take data units too, as px). | - |
rangeY? | readonly | readonly [unknown, unknown] | Fixed y range, in data units. | - |
rangeZ? | readonly | readonly [unknown, unknown] | Fixed z range, in data units. | - |
symbol? | readonly | ColumnRef | Column whose values get different marker symbols (one trace per value). | SymbolOptions.symbol |
symbolMap? | readonly | Readonly<Record<string, string>> | "identity" | Fixed symbols per value; 'identity': the values are symbols. | SymbolOptions.symbolMap |
symbolSequence? | readonly | readonly string[] | Symbols in order. Default: the template's scatter symbols, else circle, diamond, square, x, cross. | SymbolOptions.symbolSequence |
template? | readonly | string | Template | layout.template: a registered name ('plotly-classic') or a template object. Default: unset, so the chart's default template applies (Holochart's holochart look); its colorway, symbol and dash cycles and sequential colorscale are what the figure's colors are taken from. | CommonOptions.template |
text? | readonly | ColumnRef | Column of text drawn at the points (adds text to mode). | - |
title? | readonly | string | Figure title (layout.title.text). | CommonOptions.title |
width? | readonly | number | Figure width in px (layout.width). | CommonOptions.width |
x? | readonly | ColumnRef | Column of x values. | - |
y? | readonly | ColumnRef | Column of y values. | - |
z? | readonly | ColumnRef | Column of z values (up, in the default camera). | - |