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

Copy Markdown View Source

The band kind (spec/04 §4.3), copied from visualize's Visualize.Chart.Mark.Shapes band: a stretch in a status timeline.

ChannelRole, familyTypes
x0, x1edge, xtime, number, categoryreq
yposition, ycategory, number
seriesseriescategory, text, number

Options: height (number, 10). Parts: fill, stroke. Paint: fill. One rectangle per row through Macaw.Draw.Shape.Band from x0 to x1 at y (0 when absent, centered on y's band), height tall; in polar it bends to a sector band. Anchor: the rectangle's center; the edge anchors apply. Extent: its width. Budget: ceil(w / 2). Auxiliary in the summary unless its frame has no other data layer, when it is "timeline". Not gap-broken: each row is its own rectangle.

Summary

Functions

The summary: auxiliary beside a data layer; with alone: true in its context, a timeline.

Functions

summary(layer, table, model)

The summary: auxiliary beside a data layer; with alone: true in its context, a timeline.