# `Macaw.Frame.Layers.Grid`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/layers/grid.ex#L1)

The `grid` kind (spec/04 §5.2): a Gantt chart's time grid, its columns and their
headers (a calendar's days, weeks or months), new in the second cut.

| Channel | Role, family | Types | |
|---|---|---|---|
| `x0`, `x1` | position: the column's left and right, the layout's pixels | number | req |
| `label` | text: the column's header | text, category, number | |
| `series` | series | category, text, number | |

Parts: `stroke`, `font`. Paint: `stroke`, the theme's `grid` by default. One column per
row: a rule at `x0` down the plot's height, and its label centered over the column in
the header band at the plot's top (the font's height and a half), inked in the theme's
`text` and cut with an ellipsis to the column's width by the text estimate. Not bent.
Anchor: the header's center. Budget: `w`. Auxiliary: it is the time axis of a Gantt
chart, never data.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
