module RatatuiRuby::Symbols::Bar

Vertical bar characters for sparklines and bar charts.

Sparklines and vertical bar charts need characters that show partial fill. Memorizing Unicode lower block characters is tedious and error-prone.

This module exposes both individual characters and predefined sets. Use the sets with Sparkline widget, or use individual characters for custom visualizations.

Examples

# Use NINE_LEVELS for high-resolution sparklines (default)
sparkline = tui.sparkline(data: [1, 2, 3], bar_set: Symbols::Bar::NINE_LEVELS)

# Use THREE_LEVELS for simpler rendering
sparkline = tui.sparkline(data: [1, 2, 3], bar_set: Symbols::Bar::THREE_LEVELS)