Skip to content

LineChartEventSpot

LineChartEventSpot #

bar_index #

bar_index: int

The line's index or -1 if no line was hovered.

spot_index #

spot_index: int

The line's point index or -1 if no point was hovered.

copy_with #

copy_with(
    *,
    bar_index: int | None = None,
    spot_index: int | None = None,
) -> LineChartEventSpot

Returns a copy of this object with the specified properties overridden.