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

`charts.sparkline` (spec/13 §4.14): the Sparkline component's document
(`Macaw.Frame.Sparkline`, spec/01 §6): a furnitureless line with an optional area under
it, a dot at the newest reading and a rule at the field's declared target, broken at
gaps, named by the bound field's label and summarized by its first, last, least and
greatest readings.

    iex> Macaw.Frame.Charts.Sparkline.id()
    "charts.sparkline"

# `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): an hour of a latency with a declared target.

# `fragment`

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

The fragment: a line, its optional area, newest point and target rule, no furniture.

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

# `slots`

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

Its slot: `data`, an `x` and a `y` (spec/13 §4.14).

---

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