IOConfig ioConfig = IOConfig.create().
on(IO.EVENT_SUCCESS, new EventCallback<IOEvent>() {
@Override
public void call(final IOEvent e) {
JsArray data = JsonUtils.unsafeEval(e.data().responseText());
ChartBase chart1 = Y.newChart(ChartBaseConfig.create().dataProvider(data).render(p));
//now that the data of the second chart is
renderTabView(Y);
}