Skip to main content

BarChartGroup

Groups one or more bar rods rendered at the same X-axis position.

Inherits: BaseControl

Properties

  • group_vertically - If set to True bar rods are drawn on top of each other; otherwise bar rods are drawn next to each other.
  • rods - The list of BarChartRod objects to display in the group.
  • spacing - The amount of space between bar rods.
  • x - Group position on X axis.

Properties

group_verticallyclass-attributeinstance-attribute

group_vertically: bool = False

If set to True bar rods are drawn on top of each other; otherwise bar rods are drawn next to each other.

rodsclass-attributeinstance-attribute

rods: list[BarChartRod] = field(default_factory=list)

The list of BarChartRod objects to display in the group.

spacingclass-attributeinstance-attribute

spacing: Optional[Number] = None

The amount of space between bar rods.

xclass-attributeinstance-attribute

x: int = 0

Group position on X axis.