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

`charts.stacked_area` (spec/13 §4.3): the many `values` role stacked by `macaw_data`'s
`stack` and one area per key between its `y0` and `y1`; `offset` and `order` reach the
step, and under `silhouette` or `wiggle` it is a streamgraph. Copied from the gallery's
`Examples.Charts.StackedAreaChart` (`examples/lib/examples/charts/stacked_area_chart.ex`).

    iex> Macaw.Frame.Charts.StackedArea.id()
    "charts.stacked_area"

# `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): three series over a day.

# `fragment`

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

The fragment: an area layer over the stack of the values role.

# `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.3).

# `slots`

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

Its slot: `data`, an `x` and the many `values`, one field per series.

---

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