Skip to content

LineChartEventSpot

Properties

  • bar_index(int) –

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

  • spot_index(int) –

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

Methods

  • copy

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

Properties#

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.

Methods#

copy #

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

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