org.moxieapps.gwt.highcharts.client.events
Interface PointUnselectEventHandler
public interface PointUnselectEventHandler
An interface that can be used as a callback handler when unselect events are fired on the individual
points in a series. General usage is as follows:
chart.setSeriesPlotOptions(new SeriesPlotOptions()
.setPointUnselectEventHandler(new PointUnselectEventHandler() {
public boolean onUnselect(PointUnselectEvent unselectEvent) {
Window.alert("Point unselectd: " + unselectEvent.getXAsLong() + ", " + unselectEvent.getYAsLong());
return true;
}
)
});
See the documentation on the PointUnselectEvent
class for more details on the data
available when a point unselect event occurs.
- Since:
- 1.1.0
- Author:
- squinn@moxiegroup.com (Shawn Quinn)
Method Summary |
boolean |
onUnselect(PointUnselectEvent pointUnselectEvent)
This method is fired whenever a unselect event occurs on an individual point. |
onUnselect
boolean onUnselect(PointUnselectEvent pointUnselectEvent)
- This method is fired whenever a unselect event occurs on an individual point. See
the
PointUnselectEvent
class for more details on the data available when this event is fired.
Return false to prevent the unselection from occurring.
- Parameters:
pointUnselectEvent
- 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.