tag.addAttribute( HTMLAttribute.ONCLICK, eval( sv.getScript( ) ) );
if ( StructureType.SERIES_DATA_POINT.equals( sa.getSource( ) .getType( ) ) ) { final DataPointHints dph = (DataPointHints) sa.getSource( ) .getSource( ); String callbackFunction = "userCallBack("; callbackFunction += addDataValueToScript( dph.getBaseValue( ) ); callbackFunction += ","; callbackFunction += addDataValueToScript( dph.getOrthogonalValue( ) ); callbackFunction += ","; callbackFunction += addDataValueToScript( dph.getSeriesValue( ) ); callbackFunction += ");"; tag.addAttribute( HTMLAttribute.ONCLICK, eval( callbackFunction ) ); } else { tag.addAttribute( HTMLAttribute.ONCLICK, eval( sv.getScript( ) ) ); }
	protected boolean processOnClick( ShapedAction sa, HTMLTag tag )	{		// 3. onclick		Action ac = sa.getActionForCondition( TriggerCondition.ONCLICK_LITERAL );		if ( checkSupportedAction( ac ) )		{			switch ( ac.getType( ).getValue( ) )			{				case ActionType.URL_REDIRECT :					URLValue uv = (URLValue) ac.getValue( );					tag.addAttribute( HTMLAttribute.HREF,							eval( uv.getBaseUrl( ) ) );					tag.addAttribute( HTMLAttribute.TARGET,							eval( uv.getTarget( ) ) );					return true;				case ActionType.SHOW_TOOLTIP :					// for onmouseover only.					return false;				case ActionType.INVOKE_SCRIPT :					ScriptValue sv = (ScriptValue) ac.getValue( );					tag.addAttribute( HTMLAttribute.HREF, NO_OP_JAVASCRIPT );					tag.addAttribute( HTMLAttribute.ONCLICK,							eval( sv.getScript( ) ) );					return true;								}		}		return false;	}