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

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

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

Models: `[:polar]`; elsewhere `{:invalid_for, "needle"}` at `kind`. Options:
`inner_radius` (`0`), `width` (`6`), `tail` (`0`), `hub` (`width` when absent), `cap`
(`point`, `round`, `flat`; `point`). Parts: `fill`, `stroke`. Not bent: drawn in the plane
through `Macaw.Draw.Shape.Needle`, a filled tapered path from the hub to the tip at
`angle(x)` and `r(y)` (the outer radius when `y` is absent), plus the hub circle. One
needle per row. Anchor: the tip, `outward` by default, radii `{inner_radius, length}`.
Budget: `w`. Makes its frame a "gauge".

---

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