public interface ChartClickEventHandler
chart.setClickEventHandler(new ChartClickEventHandler() {
public boolean onClick(ChartClickEvent clickEvent) {
Window.alert("User clicked at " + clickEvent.getXAxisValue() + ", " + clickEvent.getYAxisValue());
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(ChartClickEvent chartClickEvent)
This method is fired whenever a click event occurs on the plot area of the chart.
|
boolean onClick(ChartClickEvent chartClickEvent)
ChartClickEvent class for more details on the data available when this event is fired.chartClickEvent - The details of the event that occurred.Copyright © 2015. All Rights Reserved.