public interface ValueClickHandler extends com.google.gwt.event.shared.EventHandler
|Modifier and Type||Method and Description|
Fires when a data value is clicked, and provides information about the data value that was clicked as a
void onValueClick(ValueClickEvent event)
Specifically, this fires for clicks on pie slices, bars or columns, areas, lines or points (in a Bubble or Scatter plot).
If there are multiple data values at the clicked
position, you can use
to discover the full list of values at the current coordinate (pass in
getOffsetX/Y() for the coordinates).
If you want to create behaviors
for clicking or moving near shapes without requiring a direct hit, implement a standard
Canvas.click() handler on the FacetChart as a whole and use
getNearestDrawnValue() to discover the nearest data
event- the event