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

`charts.line` (spec/13 §4.1): one line per series through the `x` scale its `x_scale`
parameter names, points on demand, axis titles when given, and a legend only from two
series. Copied from visualize's `Visualize.Chart.Presets.line_chart/1` and
`Visualize.Components.line_chart/1`: the `x` scale its first datum chose is the
`x_scale` parameter, its accessors a slot's roles, its colors theme roles.

    iex> Macaw.Frame.Charts.Line.id()
    "charts.line"

# `curves`

```elixir
@spec curves() :: [String.t(), ...]
```

The curve names a series chart's `curve` parameter takes.

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

# `fragment`

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

The fragment: a cartesian frame of one line layer and its optional points.

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

# `slots`

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

Its slot: `data`, with `x`, `y` and an optional `series` (spec/13 §4.1).

---

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