We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.events.
Class SeriesHideEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Chart>
-
- com.vaadin.flow.component.charts.events.SeriesHideEvent
-
All Implemented Interfaces:
@DomEvent("series-hide") public class SeriesHideEvent extends ComponentEvent<Chart> implements HasSeries
Fired when a series is hidden
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SeriesHideEvent​(Chart source, boolean fromClient, int seriesIndex)
-
Method Summary
All Methods Modifier and Type Method Description int
getSeriesItemIndex()
Returns the index of the series
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
SeriesHideEvent
public SeriesHideEvent​(Chart source, boolean fromClient, @EventData("event.detail.originalEvent.target.index") int seriesIndex)
-
-
Method Detail
-
getSeriesItemIndex
public int getSeriesItemIndex()
Description copied from interface:
HasSeries
Returns the index of the series
Specified by:
getSeriesItemIndex
in interfaceHasSeries
Returns:
-
-