# `Macaw.Frame.Charts.Gauge`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/charts/gauge.ex#L1)

`charts.gauge` (spec/13 §4.10): three status zones with their glyphs, a fill to the
reading and a needle at the newest row over the sweep, the reading labeled with its
unit; `polarity` reverses the zones. Copied from the gallery's `Examples.Charts.GaugeChart`
(`examples/lib/examples/charts/gauge_chart.ex`). The zones come from the parameters, not
a slot: each is a `rect` at constant edges over the slot's newest row, its role's glyph
written as its label at its middle, so the zones read in grayscale.

    iex> Macaw.Frame.Charts.Gauge.id()
    "charts.gauge"

# `doc`

```elixir
@spec doc() :: String.t()
```

What it draws, for a person and a builder's library.

# `fixtures`

```elixir
@spec fixtures() :: [map()]
```

Its fixtures (spec/14 §1): the gallery's gauge, a load reading of 72 percent.

# `fragment`

```elixir
@spec fragment() :: map()
```

The fragment: a polar frame of the zones, the fill and the needle.

# `id`

```elixir
@spec id() :: String.t()
```

The fragment's id in the catalog store.

# `kind`

```elixir
@spec kind() :: :design | :layers
```

What the fragment is: a whole design, or layers placed in one.

# `namespace`

```elixir
@spec namespace() :: :charts | :maps | :diagrams
```

Its namespace (spec/13 §2).

# `parameters`

```elixir
@spec parameters() :: [{String.t(), map()}]
```

Its parameters (spec/13 §3, §4.10).

# `slots`

```elixir
@spec slots() :: %{required(String.t()) =&gt; map()}
```

Its slot: `data`, one `value`; the newest row is the reading.

---

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