Skip to content

Interface: Scatter3dOptions ​

Options of scatter3d: px.scatter_3d's arguments in camelCase.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited from
animationFrame?readonlyColumnRefColumn 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.Chart3dOptions.animationFrame
animationGroup?readonlyColumnRefColumn matching rows across frames (ids), so each object moves rather than being replaced.Chart3dOptions.animationGroup
categoryOrders?readonlyReadonly<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).Chart3dOptions.categoryOrders
color?readonlyColumnRefColumn to color by.Chart3dOptions.color
colorContinuousMidpoint?readonlynumbercmid: the value at the middle of a diverging colorscale.ContinuousColorOptions.colorContinuousMidpoint
colorContinuousScale?readonlyContinuousScaleColorscale of a numeric color. Default: the template's sequential colorscale.ContinuousColorOptions.colorContinuousScale
colorDiscreteMap?readonlyReadonly<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).Chart3dOptions.colorDiscreteMap
colorDiscreteSequence?readonlyreadonly string[]Colors for the values of color, in order. Default: the template's colorway.Chart3dOptions.colorDiscreteSequence
customData?readonlyreadonly ColumnRef[]Columns put in customdata (first, before hoverData's), e.g. for click handlers.Chart3dOptions.customData
errorX?readonlyColumnRefColumn of x error sizes (error_x.array).Chart3dOptions.errorX
errorXMinus?readonlyColumnRefColumn of x error sizes below (error_x.arrayminus).Chart3dOptions.errorXMinus
errorY?readonlyColumnRefColumn of y error sizes (error_y.array).Chart3dOptions.errorY
errorYMinus?readonlyColumnRefColumn of y error sizes below (error_y.arrayminus).Chart3dOptions.errorYMinus
errorZ?readonlyColumnRefColumn of z error sizes (error_z.array).Chart3dOptions.errorZ
errorZMinus?readonlyColumnRefColumn of z error sizes below (error_z.arrayminus).Chart3dOptions.errorZMinus
height?readonlynumberFigure height in px (layout.height).Chart3dOptions.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?readonlyColumnRefColumn shown in bold at the top of the hover label (hovertext).Chart3dOptions.hoverName
labels?readonlyReadonly<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.Chart3dOptions.labels
logX?readonlybooleanLog x axis (scene.xaxis.type: 'log').Chart3dOptions.logX
logY?readonlybooleanLog y axis.Chart3dOptions.logY
logZ?readonlybooleanLog z axis.Chart3dOptions.logZ
opacity?readonlynumberMarker opacity, 0–1.-
rangeColor?readonlyreadonly [number, number][cmin, cmax] of the colorscale.ContinuousColorOptions.rangeColor
rangeX?readonlyreadonly [unknown, unknown]Fixed x range, in data units (log axes take data units too, as px).Chart3dOptions.rangeX
rangeY?readonlyreadonly [unknown, unknown]Fixed y range, in data units.Chart3dOptions.rangeY
rangeZ?readonlyreadonly [unknown, unknown]Fixed z range, in data units.Chart3dOptions.rangeZ
size?readonlyColumnRefColumn of marker sizes (area-proportional, the largest sizeMax px across).-
sizeMax?readonlynumberDiameter of the largest marker with size, in px. Default 20.-
symbol?readonlyColumnRefColumn whose values get different marker symbols (one trace per value).Chart3dOptions.symbol
symbolMap?readonlyReadonly<Record<string, string>> | "identity"Fixed symbols per value; 'identity': the values are symbols.Chart3dOptions.symbolMap
symbolSequence?readonlyreadonly string[]Symbols in order. Default: the template's scatter symbols, else circle, diamond, square, x, cross.Chart3dOptions.symbolSequence
template?readonlystring | Templatelayout.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.Chart3dOptions.template
text?readonlyColumnRefColumn of text drawn at the points (adds text to mode).Chart3dOptions.text
title?readonlystringFigure title (layout.title.text).Chart3dOptions.title
width?readonlynumberFigure width in px (layout.width).Chart3dOptions.width
x?readonlyColumnRefColumn of x values.Chart3dOptions.x
y?readonlyColumnRefColumn of y values.Chart3dOptions.y
z?readonlyColumnRefColumn of z values (up, in the default camera).Chart3dOptions.z

Released under the MIT License.