org.moxieapps.gwt.highcharts.client.events
Interface PointUpdateEventHandler
public interface PointUpdateEventHandler
An interface that can be used as a callback handler when update events are fired on the individual
points in a series. General usage is as follows:
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.
- Since:
- 1.1.0
- Author:
- squinn@moxiegroup.com (Shawn Quinn)
Method Summary |
boolean |
onUpdate(PointUpdateEvent pointUpdateEvent)
This method is fired whenever a update event occurs on an individual point. |
onUpdate
boolean onUpdate(PointUpdateEvent pointUpdateEvent)
- This method is fired whenever a update event occurs on an individual point. See
the
PointUpdateEvent
class for more details on the data available when this event is fired.
Return false to prevent the update from occurring.
- Parameters:
pointUpdateEvent
- The details of the event that occurred.
- Returns:
- The response to send back to the event handler function. Return false to prevent the action.
Copyright © 2015. All Rights Reserved.