Class MapAddSeriesEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Map>
com.vaadin.componentfactory.maps.events.MapAddSeriesEvent
All Implemented Interfaces:
Serializable

@DomEvent("chart-add-series") public class MapAddSeriesEvent extends com.vaadin.flow.component.ComponentEvent<Map>
The ChartAddSeriesEvent class stores data about new series added to an existing chart.
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • MapAddSeriesEvent

      public MapAddSeriesEvent(Map source, boolean fromClient, @EventData("event.detail.originalEvent.options.name") String name, @EventData("event.detail.originalEvent.options.data") tools.jackson.databind.node.ArrayNode data)
      Constructs a ChartAddSeriesEvent
      Parameters:
      source - a Map object.
      fromClient - a boolean.
      name - a String object.
      data - a ArrayNode object.
  • Method Details

    • getName

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

      public Number[] getData()
      Gets the series data
      Returns:
      an array of Number objects.