spark
GraphSpark
Sparkline from block characters. Values scale to the highest point.
latency
data can be a string of numbers. The last point is the accent.
last point is the accent
Sparkline with 12 points. last point is the accentMDX
```
+------------------ [ LATENCY ] -------------------+
| |
| ▂▃▄▃▅▅▇▆▇▅█▇ |
| last point is the accent |
| |
+--------------------------------------------------+
```install
command
requests
A quieter series.
last twelve deploys
Sparkline with 12 points. last twelve deploysMDX
```
+------------------ [ REQUESTS ] ------------------+
| |
| ▄▄▅▃▆▇▆█▇▆▅▆ |
| last twelve deploys |
| |
+--------------------------------------------------+
```| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| data | number[] | "2 3 4" | — | Relative values. Scaled to the max. |
| caption | string | — | Muted line under the sparkline. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | ▁▂▃▄▅▆▇█ | Defaults to spark bars. Pass shade, ascii, hash, bar, 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. |