class RatatuiRuby::BarChart

A widget that displays numeric data as a bar chart.

data

A hash of { โ€œLabelโ€ => value (Integer) }.

bar_width

The width of each bar in the chart.

bar_gap

The gap between bars.

max

Optional maximum value for the Y-axis.

style

Optional style for the bars.

block

Optional block widget to wrap the chart.