Skip to main content

LineChartEventSpot

Identifies a concrete line/point pair involved in a chart interaction event.

Properties

  • bar_index - The line's index or -1 if no line was hovered.
  • spot_index - 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_indexinstance-attribute

bar_index: int

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

spot_indexinstance-attribute

spot_index: int

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

Methods

copy

copy(bar_index: Optional[int] = None, spot_index: Optional[int] = None)

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