@Override public void onRollOut(com.haulmont.charts.web.widgets.amcharts.events.StockGraphItemRollOutEvent e) { StockPanel stockPanel = getStockPanelById(e.getPanelId()); StockGraph stockGraph = getStockGraphById(stockPanel, e.getGraphId()); publish(StockGraphItemRollOutEvent.class, new StockGraphItemRollOutEvent(WebStockChart.this, stockPanel, e.getPanelId(), stockGraph, e.getGraphId(), e.getDataItem(), e.getItemIndex(), e.getX(), e.getY(), e.getAbsoluteX(), e.getAbsoluteY())); }
@Override public void onStockGraphItemRollOut(String panelId, String graphId, int itemIndex, String dataSetId, String itemKey, int x, int y, int absoluteX, int absoluteY) { DataItem dataItem = getDataItemByKey(dataSetId, itemKey); fireEvent(new StockGraphItemRollOutEvent(CubaAmStockChartScene.this, panelId, graphId, dataItem, itemIndex, x, y, absoluteX, absoluteY)); }