use of org.talend.dataprofiler.chart.util.TalendChartComposite in project tdq-studio-se by Talend.
the class TOPChartService method createTalendChartComposite.
@Override
public Object createTalendChartComposite(Object parentComponent, int style, Object chart, boolean useBuffer) {
ChartComposite cc = new TalendChartComposite((Composite) parentComponent, style, (JFreeChart) chart, useBuffer);
GridData gd = new GridData();
gd.widthHint = CHART_STANDARD_WIDHT;
gd.heightHint = CHART_STANDARD_HEIGHT;
cc.setLayoutData(gd);
return cc;
}
Aggregations