org.moxieapps.gwt.highcharts.client.events
Interface PointRemoveEventHandler


public interface PointRemoveEventHandler

An interface that can be used as a callback handler when remove events are fired on the individual points in a series. General usage is as follows:

 chart.setSeriesPlotOptions(new SeriesPlotOptions()
    .setPointRemoveEventHandler(new PointRemoveEventHandler() {
       public boolean onRemove(PointRemoveEvent removeEvent) {
          Window.alert("Point removed: " + removeEvent.getXAsLong() + ", " + removeEvent.getYAsLong());
          return true;
       }
    )
 });
 
See the documentation on the PointRemoveEvent class for more details on the data available when a point remove event occurs.

Since:
1.1.0
Author:
squinn@moxiegroup.com (Shawn Quinn)

Method Summary
 boolean onRemove(PointRemoveEvent pointRemoveEvent)
          This method is fired whenever a remove event occurs on an individual point.
 

Method Detail

onRemove

boolean onRemove(PointRemoveEvent pointRemoveEvent)
This method is fired whenever a remove event occurs on an individual point. See the PointRemoveEvent class for more details on the data available when this event is fired.

Return false to prevent the point from being removed.

Parameters:
pointRemoveEvent - 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.