BarChartGroup

**Category:** Type

**Inherits:** BaseControl

**Description:** Represents a group of bars within a BarChart, allowing for multiple bars to be associated with a single X-axis position.

**Properties:**

  • **group_vertically**
  • * Type: bool * Default: False * Description: When True, bar rods within the group are drawn on top of each other (stacked vertically). When False, they are drawn next to each other.

  • **rods**
  • * Type: list[BarChartRod] * Default: [] (empty list) * Description: A list containing BarChartRod objects that constitute this bar group. Each BarChartRod defines an individual bar within the group.

  • **spacing**
  • * Type: Number | None * Default: None * Description: Defines the amount of horizontal space between individual bar rods within this group. If None, default spacing is used.

  • **x**
  • * Type: int * Default: 0 * Description: Specifies the position of this bar group along the X-axis of the chart.