//analysis.setUseChartSize(chart.isUseChartSize());
analysis.setBgColorB(chart.getBgColorB());
analysis.setBgColorG(chart.getBgColorG());
analysis.setBgColorR(chart.getBgColorR());
AxisStyleUI asu = (AxisStyleUI) table.getExtensions().get(AxisStyleUI.ID);
analysis.setLevelStyle(asu.isLevelStyle());
analysis.setHideSpans(asu.isHideSpans());
// only if we have an xmla model
// logger.info(olapModel.getClass().getName());
if (olapModel.getBookmarkState(0) instanceof MondrianMemento) {
MondrianMemento olapMem = (MondrianMemento) olapModel