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
}
	/**
	 * When 1). The action is supported, and the action type is INVOKE_SCRIPT.
	 * 2). The script has not been added into ImageMap. 3). The action acts on
	 * the value series area. Add the script into ImageMap.
	 * 
	 * @param sa
	 *            ShapedAction
	 * @param sb
	 *            StringBuffer
	 */
	private void userCallback( ShapedAction sa, StringBuffer sb )
	{
		Action ac = sa.getActionForCondition( TriggerCondition.ONCLICK_LITERAL );
		if ( !bAddCallback && checkSupportedAction( ac ) )
		{
			if ( ac.getType( ).getValue( ) == ActionType.INVOKE_SCRIPT
					&& StructureType.SERIES_DATA_POINT.equals( sa.getSource( )
							.getType( ) ) )
			{
				ScriptValue sv = (ScriptValue) ac.getValue( );
				sb.append( "<Script>" 
						+ "function userCallBack(categoryData, valueData, seriesValueName){" 
						+ eval( sv.getScript( ) )
						+ "}</Script>" ); 
				bAddCallback = true;
			}
		}
	}
}