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:
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
ConstructorsConstructorDescriptionChartAddSeriesEvent
(Chart source, boolean fromClient, String name, elemental.json.JsonArray data) Constructs a ChartAddSeriesEvent
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
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
-
-
-
Method Details
-
getName
Gets the series name
Returns:
-
getData
Gets the series data
Returns:
-