Skip to content

Variable: domainTraceAttributes ​

ts
const domainTraceAttributes: object;

Experimental

Attributes added to traces in the domain category (plan E4.5; Plotly's plots/domain.js): pie, and later sunburst, treemap, funnelarea, indicator, … are placed by a fraction of the plot area instead of axes. row / column pick a layout.grid cell, which then gives the default x / y; without a grid they are dropped.

Type Declaration ​

NameType
domainObjectNode<{ column: Attr<number, { description: "Column of the `layout.grid` cell this trace is placed in (0 = leftmost). Only used with a grid."; dflt: 0; editType: "plot"; min: 0; }>; row: Attr<number, { description: "Row of the `layout.grid` cell this trace is placed in (0 = first row in `roworder`). Only used with a grid."; dflt: 0; editType: "plot"; min: 0; }>; x: AttrSpec<[number, number], [number, number]>; y: AttrSpec<[number, number], [number, number]>; }>

Released under the MIT License.