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
if ( tv.getText( ) != null && tv.getText( ).length( ) > 0 )
					{
						tag.addAttribute( HTMLAttribute.TITLE,
								eval2HTML( tv.getText( ) ) );
						return true;
					}
					return false;
				case ActionType.INVOKE_SCRIPT :
					if ( StructureType.SERIES_DATA_POINT.equals( sa.getSource( )
							.getType( ) ) )
					{
						final DataPointHints dph = (DataPointHints) sa.getSource( )
								.getSource( );
						String callbackFunction = getJSMethodName( TriggerCondition.ONMOUSEOVER_LITERAL )
								+ "("; 
						callbackFunction = ScriptUtil.script( callbackFunction,
								dph );
						callbackFunction += ");"; 
						tag.addAttribute( HTMLAttribute.ONMOUSEOVER,
								eval2JS( callbackFunction ) );
					}
					else
					{
						tag.addAttribute( HTMLAttribute.ONMOUSEOVER,
								eval2JS( generateJSContent( ac ) ) );
					}
					return true;
			}
		}
		return false;