charts.bar (spec/13 §4.4): one bar per category from zero to its value, down from zero
for a negative value, with an optional label of the value past each bar's end. Copied
from visualize's Visualize.Chart.Presets.bar_chart/1: its accessors are the slot's
roles, its fill the theme's series_1.
iex> Macaw.Frame.Charts.Bar.id()
"charts.bar"
Summary
Functions
What it draws, for a person and a builder's library.
Its fixtures (spec/14 §1): visualize's bar fixture, requests by endpoint.
The fragment: a band x, a linear y through zero, and a rect per row.
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.4).
Its slot: data, a category and its value.
Functions
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixtures (spec/14 §1): visualize's bar fixture, requests by endpoint.
@spec fragment() :: map()
The fragment: a band x, a linear y through zero, and a rect per row.
@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.4).
Its slot: data, a category and its value.