Skip to main content

Module bar

Module bar 

Source
Expand description

Vertical, bottom-anchored eighth-block glyphs (▁▂▃▄▅▆▇█), for a bar that fills a cell from the bottom edge: the ramp a sparkline, gauge, or meter widget uses for one column’s worth of magnitude.

Constants§

DARK_SHADE
A dark shade: 75% coverage, CP437 code point 178 (U+2593).
FIVE_EIGHTHS
Filled 5/8 from the bottom.
FULL
A fully filled cell.
HALF
Filled 1/2 from the bottom.
LIGHT_SHADE
A light shade: 25% coverage, CP437 code point 176 (U+2591).
MEDIUM_SHADE
A medium shade: 50% coverage, CP437 code point 177 (U+2592).
NINE_LEVELS
The nine bar levels from empty to full, indexed 0..=8: a blank cell, then ONE_EIGHTH through FULL in order.
ONE_EIGHTH
Filled 1/8 from the bottom.
ONE_QUARTER
Filled 1/4 from the bottom.
SEVEN_EIGHTHS
Filled 7/8 from the bottom.
SHADE_LEVELS
The five bar levels from empty to full, indexed 0..=4: a blank cell, then LIGHT_SHADE, MEDIUM_SHADE, DARK_SHADE, and FULL in order.
THREE_EIGHTHS
Filled 3/8 from the bottom.
THREE_QUARTERS
Filled 3/4 from the bottom.