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"
Summary
Functions
The curve names a series chart's curve parameter takes.
What it draws, for a person and a builder's library.
Its fixtures (spec/14 §1).
The fragment: a cartesian frame of one line layer and its optional points.
The fragment's id in the catalog store.
What the fragment is: a whole design, or layers placed in one.
Its namespace (spec/13 §2).
Its parameters (spec/13 §3, §4.1).
Its slot: data, with x, y and an optional series (spec/13 §4.1).
Functions
@spec curves() :: [String.t(), ...]
The curve names a series chart's curve parameter takes.
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixtures (spec/14 §1).
@spec fragment() :: map()
The fragment: a cartesian frame of one line layer and its optional points.
@spec id() :: String.t()
The fragment's id in the catalog store.
@spec kind() :: :design | :layers
What the fragment is: a whole design, or layers placed in one.
@spec namespace() :: :charts | :maps | :diagrams
Its namespace (spec/13 §2).
Its parameters (spec/13 §3, §4.1).
Its slot: data, with x, y and an optional series (spec/13 §4.1).