Skip to content

BarChartEvent

BarChartEvent #

Bases: Event['BarChart']

control #

control: EventControlType = field(repr=False)

data #

data: Any | None = field(default=None, kw_only=True)

group_index #

group_index: int | None = None

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

name #

name: str

page #

page: Page | PageView | None

rod_index #

rod_index: int | None = None

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

stack_item_index #

stack_item_index: int | None = None

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

target #

target: int

type #

The type of event that occurred on the chart.