use of org.talend.dataprofiler.core.ui.editor.preview.model.states.SummaryStatisticsState in project tdq-studio-se by Talend.
the class DynamicBAWChartEventReceiver method refreshChart.
@Override
public void refreshChart() {
Map<IndicatorUnit, String> indicators2ValueMap = converIndicatorListToMap();
SummaryStatisticsState state = new SummaryStatisticsState(indicators, indicators2ValueMap);
if (!isLastIndicator()) {
state.setSupportDynamicChart(true);
}
state.setSqltype(Types.DOUBLE);
Object chart = state.getChart();
TOPChartUtils.getInstance().decorateChart(chart, false);
if (BAWparentComposite != null) {
TOPChartUtils.getInstance().refrechChart(BAWparentComposite, chart);
}
EventManager.getInstance().publish(chartComposite, EventEnum.DQ_DYNAMIC_REFRESH_DYNAMIC_CHART, null);
}
Aggregations