Bug 179431 [Automation]Chart background color issue[0602]
Details: [Automation]Chart background color issue[0602] Step: 1. Add a chart and set output format as jpg/bmp. 2. Add a chart and set output format as png/svg. Actual result: Step 1: Background color of chart is baby blue. Step 2: Background color of chart is black.
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
return sb.toString( );
	}
	private boolean checkSupportedAction( Action action )
	{
		return ( action != null && ( action.getType( ) == ActionType.URL_REDIRECT_LITERAL
				|| action.getType( ) == ActionType.SHOW_TOOLTIP_LITERAL || action.getType( ) == ActionType.INVOKE_SCRIPT_LITERAL ) );
	}
	/**
	 * Returns if the given format type or MIME type is supported by the
	 * registered JavaxImageIO writers.
	 * 
	 * @return
	 */
	protected boolean isSupportedByJavaxImageIO( )
	{
		boolean supported = false;
		
		String s = getFormat( );
		if ( s != null )
		{
			Iterator it = ImageIO.getImageWritersByFormatName( s );
			if ( it.hasNext( ) )
			{
				supported = true;
			}
		}
		
		if ( !supported )
		{
			s = getMimeType( );