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

@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:
  • 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

      public String getName()
      Gets the series name
      Returns:
    • getData

      public Number[] getData()
      Gets the series data
      Returns: