Interface: FunnelareaSlice
Experimental
One stage: pie's slice (angles unused) plus its trapezoid, set by the cross-trace layout.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
color | public | string | Experimental CSS fill color: explicitColor, or the label's color in the colormap shared by all pies (set by crossTraceLayout; '' until then). | PieSlice.color |
corners | public | | { bl: Corner; br: Corner; tl: Corner; tr: Corner; } | undefined | Experimental Top-left, top-right, bottom-right and bottom-left corners (the top edge is wider). | - |
explicitColor | readonly | string | null | Experimental Color from marker.colors (first valid one of pts) as rgb() / rgba(), else null. | PieSlice.explicitColor |
halfAngle | readonly | number | Experimental | PieSlice.halfAngle |
hidden | readonly | boolean | Experimental The label is in layout.hiddenlabels: not drawn, not part of the total. | PieSlice.hidden |
i | readonly | number | Experimental First data index (Plotly pt.i). | PieSlice.i |
label | readonly | string | Experimental The label (string). | PieSlice.label |
midAngle | readonly | number | Experimental | PieSlice.midAngle |
pts | readonly | readonly number[] | Experimental Every data index merged into the slice (Plotly pt.pts), in data order. | PieSlice.pts |
pull | readonly | number | Experimental Fraction of the radius the slice is pulled out (pull). | PieSlice.pull |
rInscribed | readonly | number | Experimental Radius fraction of the largest circle inscribed in the slice (Plotly's rInscribed), used for horizontal inside text and the hover anchor. | PieSlice.rInscribed |
startAngle | readonly | number | Experimental Angles (Plotly convention, see the module comment). start is where the slice begins in direction, stop where it ends; mid is the bisector; half is half the angular span, capped at π/2 (Plotly's halfangle). NaN for hidden slices and when nothing is visible. | PieSlice.startAngle |
stopAngle | readonly | number | Experimental | PieSlice.stopAngle |
v | readonly | number | Experimental Sum of the values of the slice's points (their count without values). | PieSlice.v |