This pure renderer does not import Blessed. Use the
blessed-components/sparkline subpath to keep the Blessed adapter outside
the module graph.
When downsampling is required, the series is divided into ordered buckets
and each bucket keeps its maximum value. This preserves narrow peaks. A
constant series uses the middle glyph to avoid division by zero.
Output shape:
[optional label and value]
[graph][optional summary]
With no metadata, only the graph line is returned.
Renders a deterministic terminal sparkline.
This pure renderer does not import Blessed. Use the
blessed-components/sparklinesubpath to keep the Blessed adapter outside the module graph.When downsampling is required, the series is divided into ordered buckets and each bucket keeps its maximum value. This preserves narrow peaks. A constant series uses the middle glyph to avoid division by zero.
Output shape:
With no metadata, only the graph line is returned.