Skip to content

PieChartEvent

PieChartEvent #

Bases: Event[EventControlType]

local_x: Optional[float] = None #

X coordinate of the local position where the event occurred.

local_y: Optional[float] = None #

Y coordinate of the local position where the event occurred.

section_index: Optional[int] = None #

Section's index or -1 if no section was hovered.

type: ChartEventType #

Type of the event.

Value is of type ChartEventType.