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.internal.
Class DataUpdatedEvent
java.lang.Object
com.vaadin.flow.component.charts.events.internal.AbstractSeriesEvent
com.vaadin.flow.component.charts.events.internal.AbstractSeriesItemEvent
com.vaadin.flow.component.charts.events.internal.DataUpdatedEvent
All Implemented Interfaces:
Event for updating existing data series.
Since:
2.0
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataUpdatedEvent
(Series series, DataSeriesItem item, int pointIndex) Constructs the event with given series, item and point index.
DataUpdatedEvent
(Series series, Number value, int pointIndex) Constructs the event with given series, number and point index.
-
Method Summary
Methods inherited from class com.vaadin.flow.component.charts.events.internal.AbstractSeriesItemEvent
getItem, getValue
Methods inherited from class com.vaadin.flow.component.charts.events.internal.AbstractSeriesEvent
getSeries
-
Constructor Details
-
DataUpdatedEvent
Constructs the event with given series, number and point index.
Parameters:
series
- Series.value
- Value.pointIndex
- Point index. -
DataUpdatedEvent
Constructs the event with given series, item and point index.
Parameters:
series
- Series.item
- Series item.pointIndex
- Point index.
-
-
Method Details
-
getPointIndex
public int getPointIndex()Returns the point index.
Returns:
Point index.
-