BarChartEvent

Represents an event object for interactions with a Flet BarChart.

Inheritance

Inherits from flet.Event.

Properties

  • **group_index**: int | None
  • * Description: The index of the bar group. Returns -1 if the chart is hovered or clicked outside any bar. * Type: class-attribute, instance-attribute
  • **rod_index**: int | None
  • * Description: The index of the bar rod. Returns -1 if the chart is hovered or clicked outside any bar. * Type: class-attribute, instance-attribute
  • **stack_item_index**: int | None
  • * Description: The index of the stack item. Returns -1 if the chart is hovered or clicked outside any bar. * Type: class-attribute, instance-attribute
  • **type**: ChartEventType
  • * Description: The type of event that occurred on the chart. * Type: instance-attribute