Bug 417305 A sample chart has no data
chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/view/models/WorkingWithBIRTDataEngine.java
import org.eclipse.birt.data.aggregation.api.IBuildInAggregation;
import org.eclipse.birt.data.engine.api.DataEngine;
import org.eclipse.birt.data.engine.api.DataEngineContext;
import org.eclipse.birt.data.engine.api.IGroupDefinition;
import org.eclipse.birt.data.engine.api.IPreparedQuery;
import org.eclipse.birt.data.engine.api.IQueryResults;
import org.eclipse.birt.data.engine.api.querydefn.Binding;
import org.eclipse.birt.data.engine.api.querydefn.GroupDefinition;
import org.eclipse.birt.data.engine.api.querydefn.OdaDataSetDesign;
import org.eclipse.birt.data.engine.api.querydefn.OdaDataSourceDesign;
import org.eclipse.birt.data.engine.api.querydefn.QueryDefinition;
import org.eclipse.birt.data.engine.api.querydefn.ScriptExpression;
import org.eclipse.birt.data.engine.core.DataException;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
import org.osgi.framework.Bundle;
import com.ibm.icu.util.ULocale;
/**
 * The example demonstrates how chart works with ODA/DtE(BIRT data engine) to
 * get grouped/aggregated data set, the ODA/DtE is responsible to execute data
 * query and grouping/aggregation, it returns a grouped data set to chart and
 * chart retrieve data without grouping/aggregation by chart-self.
 * <p>
 * In the example, it only uses flat file as data source, actually it supports
 * any JDBC data source, referring to Data Engine to get detail information.
 * 
 * @since 2.3
 */
public class WorkingWithBIRTDataEngine