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

The `line` kind (spec/04 §4.1), copied from visualize's `Visualize.Chart.Mark.Shapes`
line.

| Channel | Role, family | Types | |
|---|---|---|---|
| `x` | position, `x` | time, number, category | req |
| `y` | position, `y` | number | req |
| `series` | series | category, text, number | |

Options: `closed` (boolean; `true` by default on a full turn over a categorical angle).
Parts: `stroke`, `curve`. Paint: `stroke` (`fill: none`). One path per series through
`Macaw.Draw.Shape.Line` in the style's curve. A row whose `x` or `y` is unplaced, or
where gap breaking breaks (`Macaw.Frame.Gaps`), breaks the path; a series none of whose
rows is placed draws no element. With `closed` in a polar frame the first row is
appended after the last at its angle plus the sweep; a closed curve closes itself. A
linear cartesian line of more than `4 × w` points draws M4 of its device pixel columns;
with a delivery's claim it is cut into a settled and a provisional part. Anchor: the
series' last placed point. Extent: `:none`. Budget: `4 × w`. Summary: "line chart",
"radar chart" in a polar frame.

---

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