charts.ridgeline (spec/13 §7.1), a second-cut chart: a density per series, each a ridge
on its own baseline, the ridges stacked down the plot and overlapping by overlap. The
estimate is macaw_data's density operation grouped by series (macaw_data#309), never
the frame's. The baselines are a frame concern: the ridge spatial step places each
series on a band scale down the plot's height, the series its domain, and writes each
row's baseline pixel and its top, the baseline less the density scaled so the
greatest density spans 1 + overlap bands (decision, macaw_frame#96). An area draws
each ridge from y0 its baseline to y its top, and a text names each ridge at the
left of its baseline. The x axis is the readings'; the y axis is the ridges', so it
draws none. New in the second cut.
iex> Macaw.Frame.Charts.Ridgeline.id()
"charts.ridgeline"
Summary
Functions
What it draws, for a person and a builder's library.
Its fixtures (spec/14 §1): five regions' response times.
The fragment: density by series, the ridge step, an area per ridge and its name.
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, §7.1).
Its slot: data, a value and its series.
Functions
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixtures (spec/14 §1): five regions' response times.
@spec fragment() :: map()
The fragment: density by series, the ridge step, an area per ridge and its name.
@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, §7.1).
Its slot: data, a value and its series.