Bug 417305 A sample chart has no data
chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/view/models/WorkingWithBIRTDataEngine.java
}
	/**
	 * Create a new data engine.
	 * 
	 * @return
	 * @throws BirtException
	 */
	private DataEngine newDataEngine( ) throws BirtException
	{
		DataEngineContext context = DataEngineContext.newInstance( DataEngineContext.DIRECT_PRESENTATION,
				new ScriptContext( ),
				(IDocArchiveReader) null,
				(IDocArchiveWriter) null,
				(ClassLoader) null );
		
		DataEngine myDataEngine = DataEngine.newDataEngine( context );
		return myDataEngine;
	}
	/**
	 * Create a new data set.
	 * 
	 * @param dataSourceDesign
	 * @return
	 */
	private OdaDataSetDesign newDataSet(
			OdaDataSourceDesign dataSourceDesign )
	{
		OdaDataSetDesign dataSet = new OdaDataSetDesign( "Data Set1" ); 
		dataSet.setDataSource( dataSourceDesign.getName( ) );
		dataSet.setExtensionID( FlatFileDataSource.DATA_SET_TYPE );