Bug 200777 [Firefox]Fail to show svg bar chart using chart deploy package.[0601][13]
Description: Fail to show svg bar chart using chart deploy package. Build number:2.2.1.v200708220927 Steps to reproduce: 1. Deploy chart-viewer-sample.war to Tomcat5.5.23. 2. Preview index.jsp Expected result: Display three charts. Actual result: Fail to display svg bar chart. see attached. Error log:n/a
chart/org.eclipse.birt.chart.viewer/src/org/eclipse/birt/chart/viewer/internal/util/ChartImageManager.java
generateImage( );
	}
	private InputStream generateStream( ) throws BirtException
	{
		InputStream fis = null;
		Generator gr = Generator.instance( );
		IDeviceRenderer idr = null;
		try
		{
			if ( evaluator == null )
			{
				
				if ( !ChartWebHelper.isChartInRuntime( cm ) )
				{
					cm.createSampleRuntimeSeries( );
				}
			}
			else
			{
				gr.bindData( evaluator, new SimpleActionEvaluator( ), cm, rtc );
			}
			rtc.setActionRenderer( new SimpleActionRenderer( evaluator ) );
			
			idr = ChartEngine.instance( ).getRenderer( "dv." 
					+ sExtension.toUpperCase( Locale.US ) );
			idr.setProperty( IDeviceRenderer.DPI_RESOLUTION, new Integer( dpi ) );
			if ( "SVG".equalsIgnoreCase( sExtension ) ) 
			{
				idr.setProperty( "resize.svg", Boolean.TRUE ); 
			}