Elm-Vega Text Formatting Tests

Channel, legend and axis formatting

Text channel formatted as date, x-axis as date, y-axis as 4dp number truncated from left to right with [] replacing ellipsis, legend as date

Facet header formatting

Formatting facet headers as dates.

Text alignment

6 vertical text alignments (should align to different parts of the font glyphs); x-axis labels aligned to top of 40 pixel line height.
Interactive control of text alignment and positioning.

Multiline text

Multi-line labels (currently data from fields cannot be multi-line)

Custom formatter

Custom formats with a registered formatter (will show no non-default formatting if no formatter has been registered in this document).
Interactive title parameterisation.

Source