Bug 161501 [Smoke] Chart can not be previewed in Web Viewer & HTML
Chart can not be previewed in Web Viewer & HTML Steps to reproduce: 1. Create a chart. 2. Preveiw in Web Viewer/ HTML. Expected result: Chart can be previewed. Actual result: No chart is shown.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
String[] columnNames = new String[columns.size( )];
		Iterator iSelectedColumns = columns.iterator( );
		for ( int i = 0; iSelectedColumns.hasNext( ); i++ )
		{
			columnNames[i] = (String) iSelectedColumns.next( );
		}
		IDataExtractionTask dataTask = null;
		IExtractionResults result = null;
		IDataIterator iData = null;
		try
		{
			dataTask = engine.createDataExtractionTask( document );
			dataTask.selectResultSet( resultSetName );
			dataTask.selectColumns( columnNames );
			dataTask.setLocale( locale );
			result = dataTask.extract( );
			if ( result != null )
			{
				iData = result.nextResultIterator( );
				if ( iData != null && columnNames.length > 0 )
				{
					StringBuffer buf = new StringBuffer( );
					
					buf.append( columnNames[0] );
					for ( int i = 1; i < columnNames.length; i++ )
					{
						buf.append( ',' );
						buf.append( columnNames[i] );
					}
					buf.append( '\n' );