Class ChartAddSeriesEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Chart>
com.vaadin.flow.component.charts.events.ChartAddSeriesEvent
- All Implemented Interfaces:
Serializable
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
ConstructorDescriptionChartAddSeriesEvent
(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:
-