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 ChartAddSeriesEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Chart>
-
- com.vaadin.flow.component.charts.events.ChartAddSeriesEvent
-
All Implemented Interfaces:
@DomEvent("chart-add-series") public class ChartAddSeriesEvent extends ComponentEvent<Chart>
The ChartAddSeriesEvent class stores data about new series added to an existing chart.
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ChartAddSeriesEvent​(Chart source, boolean fromClient, String name, elemental.json.JsonArray data)
Constructs a ChartAddSeriesEvent
-
Method Summary
All Methods Modifier and Type Method Description Number[]
getData()
Gets the series data
String
getName()
Gets the series name
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ChartAddSeriesEvent
public ChartAddSeriesEvent​(Chart source, boolean fromClient, @EventData("event.detail.originalEvent.options.name") String name, @EventData("event.detail.originalEvent.options.data") elemental.json.JsonArray data)
Constructs a ChartAddSeriesEvent
Parameters:
source
-fromClient
-name
-data
-
-
-