class RatatuiRuby::BarChart::BarGroup
A group of bars in a grouped bar chart.
Examples
BarChart::BarGroup.new(label: "Q1", bars: [BarChart::Bar.new(value: 10), BarChart::Bar.new(value: 20)])
Attributes
The label of the group (String).
Public Class Methods
Source
# File lib/ratatui_ruby/schema/bar_chart/bar_group.rb, line 22 def initialize(label:, bars:) super end
:attr_reader: bars The bars in the group (Array of Bar).
Calls superclass method