Skip to content

Interface: FunnelareaCalc ​

Experimental

Funnelarea calcdata: pie-shaped (so pie's labels and hover read it) plus the stage shapes.

Extends ​

Properties ​

PropertyModifierTypeDescriptionOverridesInherited from
halfHeightpublicnumberExperimental Half the funnel's height (Plotly's r after setCoords); layout.r is half its width.--
layoutpublicPieLayout | undefinedExperimental Set by crossTraceLayout (undefined before the first layout).-PieCalc.layout
maxPullreadonlynumberExperimental Largest pull of the trace (Plotly getMaxPull: every entry of an array).-PieCalc.maxPull
ringreadonlynumberExperimental 1 − hole (Plotly ring).-PieCalc.ring
slicesreadonlyFunnelareaSlice[]Experimental Slices in draw order (sorted by value when sort).PieCalc.slices-
titleBoxpublic| { height: number; width: number; } | nullExperimental Title block size (unscaled, px) when the trace has a title; set by crossTraceLayout.-PieCalc.titleBox
vTotalreadonlynumberExperimental Sum of the visible slices' values.-PieCalc.vTotal

Released under the MIT License.