Class SeriesShowEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Chart>
com.vaadin.flow.component.charts.events.SeriesShowEvent
- All Implemented Interfaces:
HasSeries
,Serializable
@DomEvent("series-show")
public class SeriesShowEvent
extends ComponentEvent<Chart>
implements HasSeries
Fired when a series is shown
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SeriesShowEvent
public SeriesShowEvent(Chart source, boolean fromClient, @EventData("event.detail.originalEvent.target.index") int seriesIndex)
-
-
Method Details
-
getSeriesItemIndex
public int getSeriesItemIndex()Description copied from interface:HasSeries
Returns the index of the series- Specified by:
getSeriesItemIndex
in interfaceHasSeries
- Returns:
-