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

`charts.grouped_bar` (spec/13 §4.4): each series' bar placed inside its category's band
by an `x_offset` band over the series, colored by series. Copied from the gallery's
`Examples.Charts.GroupedBarChart` (`examples/lib/examples/charts/grouped_bar_chart.ex`).

    iex> Macaw.Frame.Charts.GroupedBar.id()
    "charts.grouped_bar"

# `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 grouped bars, three years by quarter.

# `fragment`

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

The fragment: a rect per row offset within its category by its series.

# `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.4): the padding `0.2`.

# `slots`

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

Its slot: `data`, a `category`, a `series` and a `value`, long form.

---

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