Skip to content

view on a desktop screen for a better experience.

bars

GraphBars

Two small histograms, before and after. Write `- before: 2 4 3 5 2`. A ranked list is Rank.

before / after

[ THROUGHPUT ]

before

after

MDX

```
+----------------- [ THROUGHPUT ] -----------------+
|                                                  |
|       █               █                          |
|   █   █           █   █                          |
| █ █ █ █ █       █ █ █ █ █                        |
| █ █ █ █ █       █ █ █ █ █                        |
| █ █ █ █ █  -->  █ █ █ █ █                        |
| before          after**                          |
|                                                  |
+--------------------------------------------------+
```

install

command

draft to shipped

[ DRAFT TO SHIPPED ]

draft

edit

shipped

MDX

```
+-------------- [ DRAFT TO SHIPPED ] --------------+
|                                                  |
|       █                        █                 |
|   █ █ █                    █ █ █ █               |
|   █ █ █                  █ █ █ █ █               |
| █ █ █ █ █                █ █ █ █ █               |
| █ █ █ █ █  --> edit -->  █ █ █ █ █               |
| draft                    shipped**               |
|                                                  |
+--------------------------------------------------+
```
[ PROPS ]
PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
fromBarSeriesLeft series. values is an array of relative heights. Optional when children are Markdown.
childrenMarkdown- before: 2 4 3 5 2
toBarSeriesRight series. Set size to lg for the larger group.
processorstringOptional label between the two groups.
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.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.