plot
GraphPlot
Line or area chart built from columns of block characters.
p95
Last cap is the live point.
90
9
9
area plot, 12 points, min 0, max 9jandec
MDX
```
+-------------------- [ P95 ] ---------------------+
| |
| ▃▃▃▅▄▆▆▇▅█▆▆ |
| |
+--------------------------------------------------+
```install
command
errors
Line only. progress reveals a prefix.
80
8
8
line plot, 10 points, min 0, max 8monfri
MDX
```
+------------------- [ ERRORS ] -------------------+
| |
| ▂▂▅▃█▄▃▂▅▃ |
| |
+--------------------------------------------------+
```| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| data | number[] | "2 3 4" | — | One value per column, left to right. |
| labels | string[] | — | First and last labels under the axis. |
| height | number | 7 | Rows in the plot. |
| variant | "line" | "area" | "area" | Area fills down from the cap with ░. |
| progress | number | 1 | 0–1. How many columns are revealed. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |