Bug 195951 Focus for PNG does not work [13]
Description: Focus for PNG does not work. Build number: 2.2.0.v20070710-1223 Steps to reproduce: 1. New a Chart, set Output Format as PNG, in "Format Chart" tab, add interactivity for Value Series, Event: Focus, Action: Hyperlink or invoke script. 2. Preview, focus in Value Series. Expected result: Interactivity works. Actual result: It does not work. Error log: N/A
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
tag.addAttribute( HTMLAttribute.HREF,
							eval2HTML( uv.getBaseUrl( ) ) );
					tag.addAttribute( HTMLAttribute.TARGET,
							eval2HTML( uv.getTarget( ) ) );
					return true;
				case ActionType.SHOW_TOOLTIP :
					
					return false;
				case ActionType.INVOKE_SCRIPT :
					ScriptValue sv = (ScriptValue) ac.getValue( );
					tag.addAttribute( HTMLAttribute.HREF, NO_OP_JAVASCRIPT );
					if ( StructureType.SERIES_DATA_POINT.equals( sa.getSource( )
							.getType( ) ) )
					{
						final DataPointHints dph = (DataPointHints) sa.getSource( )
								.getSource( );
						String callbackFunction = getJSMethodName( TriggerCondition.ONCLICK_LITERAL )
								+ "("; 
						callbackFunction = ScriptUtil.script( callbackFunction,
								dph );
						callbackFunction += ");"; 
						tag.addAttribute( HTMLAttribute.ONCLICK,
								eval2JS( callbackFunction ) );
					}
					else
					{
						tag.addAttribute( HTMLAttribute.ONCLICK,
								eval2JS( sv.getScript( ) ) );
					}
					return true;