Skip to content

BarChartEvent

BarChartEvent #

Bases: Event['BarChart']

group_index: Optional[int] = None #

Bar's index or -1 if chart is hovered or clicked outside of any bar.

rod_index: Optional[int] = None #

Rod's index or -1 if chart is hovered or clicked outside of any bar.

stack_item_index: Optional[int] = None #

Stack item's index or -1 if chart is hovered or clicked outside of any bar.

type: ChartEventType #

The type of event that occurred on the chart.