public interface SeriesClickEventHandler
chart.setSeriesPlotOptions(new SeriesPlotOptions()
.setSeriesClickEventHandler(new SeriesClickEventHandler() {
public boolean onClick(SeriesClickEvent clickEvent) {
Window.alert("User clicked on the series near the point: " + clickEvent.getNearestPointName());
return true;
}
)
});
See the documentation on the ChartClickEvent class for more details on the data
available when a click event occurs.| Modifier and Type | Method and Description |
|---|---|
boolean |
onClick(SeriesClickEvent seriesClickEvent)
This method is fired whenever a click event occurs on a series.
|
boolean onClick(SeriesClickEvent seriesClickEvent)
SeriesClickEvent class for more details on the data available when this event is fired.seriesClickEvent - The details of the event that occurred.Copyright © 2015. All Rights Reserved.