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

`charts.dumbbell` (spec/13 §7.1), a second-cut chart: each category's `from` and `to`
readings as two circles joined by a `segment`, on a band per category. `orientation`
lays the categories down the left (`"horizontal"`, the readings along `x`) or along the
bottom (`"vertical"`). It needs no statistic. New in the second cut.

    iex> Macaw.Frame.Charts.Dumbbell.id()
    "charts.dumbbell"

# `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): page load times before and after a cache, by page.

# `fragment`

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

The fragment: a segment and two circles per row.

# `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, §7.1).

# `slots`

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

Its slot: `data`, a `category` and its `from` and `to` readings.

---

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