OptionalcharactersOrdered glyph scale from lowest to highest intensity.
At least two non-empty strings are required. Glyphs should occupy one terminal cell to keep output width predictable.
OptionalemptyText returned when values is empty.
Metadata is not rendered for an empty series.
OptionallabelOptional heading label rendered above the graph.
OptionalmaxExplicit upper domain bound.
When omitted, the largest input value is used. If either explicit bound is
supplied, the resolved max must be greater than the resolved min.
OptionalminExplicit lower domain bound.
When omitted, the smallest input value is used.
OptionalsummaryOptional text appended to the graph line after one space.
OptionalvalueOptional primary value rendered next to label.
This value is presentation metadata and does not affect graph scaling.
Ordered finite numeric samples.
The input array is never mutated.
Positive integer maximum number of graph cells.
Longer series are downsampled. Shorter series are not padded.
Options accepted by renderSparkline.
Samples are kept in input order, scaled into
characters, and reduced to at mostwidthcells. Values outside an explicit domain are clamped.