Macaw.Frame.Layers.Box (macaw_frame v0.1.0)

Copy Markdown View Source

The box kind (spec/04 §5.1): a box plot's box per row, new in the second cut.

ChannelRole, familyTypes
xposition, xcategoryreq
q1, median, q3position, ynumberreq
lo, hiposition, ynumber
seriesseriescategory, text, number

Options: width (1, the share of the band the box spans). Parts: fill, stroke. Paint: fill. One group per row: a box from q1 to q3 across the band, the median line across it, and whiskers to lo and hi with caps half the box's width, each where given. The statistic is never the kind's: q1, median, q3, lo and hi are read from columns, the box aggregate's (macaw_data#309); its outliers are a symbol layer over the step's outlier output. Anchor: the box's center. Extent: its width. Budget: ceil(w / 2). Summary: "box plot", extremes over median.