Is it possible to handle click events on bar / column charts? I used the below code but the events do not seem to fire. I'm not sure I'm using it right, but the name (PointSelectEvent) seems to indicate it does not work on bars?
thanks
SeriesPlotOptions options = new SeriesPlotOptions();
options.setSeriesClickEventHandler(new SeriesClickEventHandler() {
@Override
public boolean onClick(final SeriesClickEvent seriesClickEvent) {
SC.say("clicked on series " + seriesClickEvent.getSeriesName());
return true;
}
});
options.setPointSelectEventHandler(new PointSelectEventHandler() {
@Override
public boolean onSelect(final PointSelectEvent pointSelectEvent) {
SC.say("clicked on point " + pointSelectEvent.getPoint().getName());
return true;
}
});
options.setAllowPointSelect(true);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to handle click events on bar / column charts? I used the below code but the events do not seem to fire. I'm not sure I'm using it right, but the name (PointSelectEvent) seems to indicate it does not work on bars?
thanks