VConsole.log("Exit [updateOptionsWithChartEvents]");
}
private GwtSeriesEvents getSeriesEvents(UIDL seriesEventUIDL) {
GwtSeriesEvents seriesEvents = GwtSeriesEvents.create();
boolean foundEvt = false;
if (seriesEventUIDL.hasAttribute("legendItemClick")
&& seriesEventUIDL.getBooleanAttribute("legendItemClick")) {
seriesEvents.setLegendItemClickEvent(EventCallbacks
.getSeriesLegendItemClick(this));
foundEvt = true;
}
if (seriesEventUIDL.hasAttribute("click")
&& seriesEventUIDL.getBooleanAttribute("click")) {
seriesEvents.setClickEvent(EventCallbacks.getSeriesClick(this));
foundEvt = true;
}
if (seriesEventUIDL.hasAttribute("show")
&& seriesEventUIDL.getBooleanAttribute("show")) {
seriesEvents.setShowEvent(EventCallbacks.getSeriesShow(this));
foundEvt = true;
}
if (seriesEventUIDL.hasAttribute("hide")
&& seriesEventUIDL.getBooleanAttribute("hide")) {
seriesEvents.setHideEvent(EventCallbacks.getSeriesHide(this));
foundEvt = true;
}
if (foundEvt) {
return seriesEvents;
}