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

`charts.error_bars` (spec/13 §7.1), a second-cut chart: an error bar per row from its
`lo` to its `hi` (the `interval` kind) and a point at its `value` (a `symbol`), colored
by an optional `series`. It needs no statistic: the bounds are the rows' own. The
`orientation` parameter lays the bars `"vertical"` (a band or a number along `x`) or
`"horizontal"` (`x` along `y`, the bounds along `x`). New in the second cut.

    iex> Macaw.Frame.Charts.ErrorBars.id()
    "charts.error_bars"

# `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): a benchmark's means with their confidence intervals.

# `fragment`

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

The fragment: an interval layer and a symbol layer over one band scale.

# `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`, an `x`, a `value`, its `lo` and `hi` bounds, an optional `series`.

---

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