Bug 203044 Invoke Script does not work correctly for two similar charts [13]
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
}
		}
	}
	private String generateJSContent( Action ac )
	{
		if ( ac.getType( ).getValue( ) == ActionType.INVOKE_SCRIPT )
		{
			ScriptValue sv = (ScriptValue) ac.getValue( );
			return sv.getScript( );
		}
		if ( ac.getType( ).getValue( ) == ActionType.URL_REDIRECT )
		{
			URLValue uv = (URLValue) ac.getValue( );
			return getJsURLRedirect( uv );
		}
		return ""; 
	}
	private String wrapJSMethod( String functionName, String functionContent )
	{
		return "<Script>" 
				+ "function " + functionName + "(categoryData, valueData, seriesValueName){" 
				+ eval2JS( functionContent, true ) + "}</Script>"; 
	}
	
	private String getJSMethodName( TriggerCondition tc, ShapedAction sa )
	{
		
		return "userCallBack_" + tc.getLiteral( ) + sa.getSource( ).getClass( ).hashCode( ); 
	}
}