Skip to content

Interface: PieCalc ​

Experimental

Calcdata of a pie trace.

Extended by ​

Properties ​

PropertyModifierTypeDescription
layoutpublicPieLayout | undefinedExperimental Set by crossTraceLayout (undefined before the first layout).
maxPullreadonlynumberExperimental Largest pull of the trace (Plotly getMaxPull: every entry of an array).
ringreadonlynumberExperimental 1 − hole (Plotly ring).
slicesreadonlyPieSlice[]Experimental Slices in draw order (sorted by value when sort).
titleBoxpublic| { height: number; width: number; } | nullExperimental Title block size (unscaled, px) when the trace has a title; set by crossTraceLayout.
vTotalreadonlynumberExperimental Sum of the visible slices' values.

Released under the MIT License.