charts.status_timeline (spec/13 §4.13): a stretch per row at its entity, colored by
its state's declared role, a legend listing every declared state by name, and a brush
on x writing the window. Its state field must declare its values and status, so
its legend and colors come from the source's meaning: one that does not is {:requires, "state", :values} at the binding. Copied from the gallery's board demo status design
(Examples.BoardDemo, examples/lib/examples/board_demo/status.ex).
iex> Macaw.Frame.Charts.StatusTimeline.id()
"charts.status_timeline"
Summary
Functions
What it draws, for a person and a builder's library.
Its fixtures (spec/14 §1): three services' states over an hour.
The fragment: a band layer per stretch, colored by the state's declared role.
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.13).
Its slot: data, an entity, a stretch from and to, and its state.
Functions
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixtures (spec/14 §1): three services' states over an hour.
@spec fragment() :: map()
The fragment: a band layer per stretch, colored by the state's declared role.
@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.13).
Its slot: data, an entity, a stretch from and to, and its state.