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
}
		renderContext.setImageDirectory( imageDirectory );
		renderContext.setSupportedImageFormats( svgFlag
				? "PNG;GIF;JPG;BMP;SVG" : "PNG;GIF;JPG;BMP" ); 
		return renderContext;
	}
	/**
	 * Create PDF render context.
	 * 
	 * @param servletPath
	 * 
	 * @return the PDF render context
	 */
	private PDFRenderContext createPDFrenderContext( String servletPath )
	{
		PDFRenderContext renderContext = new PDFRenderContext( );
		if ( servletPath != null && servletPath.length( ) > 0 )
		{
			renderContext.setBaseURL( this.contextPath + servletPath );
		}
		else
		{
			renderContext.setBaseURL( this.contextPath
					+ IBirtConstants.SERVLET_PATH_RUN );
		}
		renderContext.setSupportedImageFormats( "PNG;GIF;JPG;BMP" ); 
		return renderContext;
	}
	/**
	 * Run and render a report,