Skip to content

Interface: StackOutput ​

Experimental

What layoutBars computes for one input. Arrays are index-aligned with the input.

Properties ​

PropertyModifierTypeDescription
basereadonlyFloat64ArrayExperimental Stacked base (calc space).
centerreadonlyFloat64ArrayExperimental Bar center on the position axis (linear). NaN for skipped bars.
groupWidthpublicnumberExperimental Width shared by a group of bars at one position (slot * (1 - bargap)).
outmostreadonlyUint8ArrayExperimental 1 for the outermost bar of a stack (or every bar when not stacking). Only outermost bars may show outside text or rounded corners.
paddedpublicbooleanExperimental
posMaxpublicnumberExperimental
posMinpublicnumberExperimental Position-axis extent for autorange: the full slot around every position, unpadded.
sizePointspublicFloat64ArrayExperimental Size-axis autorange points (calc space) with Plotly's tozero / padded options.
slotpublicnumberExperimental Smallest distance between distinct positions (Plotly's bardelta).
topreadonlyFloat64ArrayExperimental Stacked top (calc space); the bar spans base → top. NaN for skipped bars.
tozeropublicbooleanExperimental
valuereadonlyFloat64ArrayExperimental The bar's own value for labels and hover: its size, normalized with barnorm.
widthreadonlyFloat64ArrayExperimental Bar width (position units).

Released under the MIT License.