The text kind (spec/04 §4.14), copied from visualize's Visualize.Chart.Mark.Generic
text.
| Channel | Role, family | Types | |
|---|---|---|---|
x | position, x | time, number, category | req |
y | position, y | number, category | req |
value | text | any | |
series | series | category, text, number |
Targets: [:svg]. Parts: fill, stroke (halo), font, text. One text per row at its
position: its content the layer's label text read from the row, else value as a
string, anchored by the label's anchor, in the layer's own style (a text layer is its
label). A constant position feeds its scale's domain and is reported as {:feeds_domain, scale, n}: a text that should stand at an edge reads {:scale, :min} or
{:scale, :max} (warnings/2). Budget: w. Auxiliary.
Summary
Functions
The warnings of a text layer node at path (§4.14): a constant position feeds its
scale's domain and is reported as {:feeds_domain, family, n} at its channel, a warning
the Frame carries, never a refusal.
Functions
@spec warnings(map(), list()) :: [Macaw.Base.Fault.t()]
The warnings of a text layer node at path (§4.14): a constant position feeds its
scale's domain and is reported as {:feeds_domain, family, n} at its channel, a warning
the Frame carries, never a refusal.