Skip to content

Interface: FunnelareaSlice ​

Experimental

One stage: pie's slice (angles unused) plus its trapezoid, set by the cross-trace layout.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited from
colorpublicstringExperimental CSS fill color: explicitColor, or the label's color in the colormap shared by all pies (set by crossTraceLayout; '' until then).PieSlice.color
cornerspublic| { bl: Corner; br: Corner; tl: Corner; tr: Corner; } | undefinedExperimental Top-left, top-right, bottom-right and bottom-left corners (the top edge is wider).-
explicitColorreadonlystring | nullExperimental Color from marker.colors (first valid one of pts) as rgb() / rgba(), else null.PieSlice.explicitColor
halfAnglereadonlynumberExperimentalPieSlice.halfAngle
hiddenreadonlybooleanExperimental The label is in layout.hiddenlabels: not drawn, not part of the total.PieSlice.hidden
ireadonlynumberExperimental First data index (Plotly pt.i).PieSlice.i
labelreadonlystringExperimental The label (string).PieSlice.label
midAnglereadonlynumberExperimentalPieSlice.midAngle
ptsreadonlyreadonly number[]Experimental Every data index merged into the slice (Plotly pt.pts), in data order.PieSlice.pts
pullreadonlynumberExperimental Fraction of the radius the slice is pulled out (pull).PieSlice.pull
rInscribedreadonlynumberExperimental Radius fraction of the largest circle inscribed in the slice (Plotly's rInscribed), used for horizontal inside text and the hover anchor.PieSlice.rInscribed
startAnglereadonlynumberExperimental 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
stopAnglereadonlynumberExperimentalPieSlice.stopAngle
vreadonlynumberExperimental Sum of the values of the slice's points (their count without values).PieSlice.v

Released under the MIT License.