rank
GraphRank
Labels ranked by a number. Write `- 12,400 /docs`. Two histograms side by side is Bars.
routes
- /docs12,400
- /install4,100
- /plot860
- /rank420
MDX
```
+------------------- [ ROUTES ] -------------------+
| |
| /docs [--------------------] 12 |
| /install [--------------------] 4 |
| /plot [====================] 860 |
| /rank [==========----------] 420 |
| |
+--------------------------------------------------+
```install
command
coverage
- frame100%
- plot82%
- invoice41%
MDX
```
+------------------ [ COVERAGE ] ------------------+
| |
| frame [====================] 100 |
| plot [================----] 82 |
| invoice [========------------] 41 |
| |
+--------------------------------------------------+
```| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| items | RankItem[] | — | Each row is a label, a number, and an optional display string for the right column. Optional when children are Markdown. |
| children | Markdown | — | - 12,400 /docs |
| max | number | — | Scale for the bars. Defaults to the largest value. |
| ticks | number | 20 | How many character slots each bar uses. |
| 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. |