Raxol. UI. Charts. BarChart
(Raxol v2.6.0)
View Source
Block-character bar chart with sub-character precision.
Uses █▇▆▅▄▃▂▁ for 8 levels of fill per character height, giving
smooth bar rendering. Supports vertical and horizontal orientation,
grouped multi-series, and optional value labels.
Summary
Functions
Renders a bar chart into cell tuples.
Types
@type cell() :: Raxol.UI.Charts.ChartUtils.cell()
Functions
@spec render( {non_neg_integer(), non_neg_integer(), pos_integer(), pos_integer()}, [series()], keyword() ) :: [cell()]
Renders a bar chart into cell tuples.
Options
orientation--:verticalor:horizontal(default::vertical)show_axes-- render axis labels (default: false)show_legend-- render series legend (default: false)show_values-- render value labels above bars (default: false)bar_gap-- gap between bars in a group (default: 0)group_gap-- gap between groups (default: 1)min-- Y-axis minimum (default::auto)max-- Y-axis maximum (default::auto)