public interface PointUpdateEventHandler
chart.setSeriesPlotOptions(new SeriesPlotOptions()
.setPointUpdateEventHandler(new PointUpdateEventHandler() {
public boolean onUpdate(PointUpdateEvent updateEvent) {
Window.alert("Point updated: " + updateEvent.getXAsLong() + ", " + updateEvent.getYAsLong());
return true;
}
)
});
See the documentation on the PointUpdateEvent class for more details on the data
available when a point update event occurs.| Modifier and Type | Method and Description |
|---|---|
boolean |
onUpdate(PointUpdateEvent pointUpdateEvent)
This method is fired whenever a update event occurs on an individual point.
|
boolean onUpdate(PointUpdateEvent pointUpdateEvent)
PointUpdateEvent class for more details on the data available when this event is fired.
Return false to prevent the update from occurring.pointUpdateEvent - The details of the event that occurred.Copyright © 2015. All Rights Reserved.