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.tests/src/org/eclipse/birt/chart/tests/engine/util/TriggerSupportMatrixTest.java
private String getSupport( TriggerCondition condition, ActionType actionType )
	{
		boolean supportSVG = matSVG.check( condition, actionType );
		boolean supportSwing = matSwing.check( condition, actionType );
		if ( supportSVG && supportSwing )
		{
			return "All"; 
		}
		if ( supportSVG )
		{
			return "SVG"; 
		}
		if ( supportSwing )
		{
			return "Swing"; 
		}
		return "&nbsp;"; 
	}
	public void testMatrixDataPointVisibility( )
	{
		
		TriggerSupportMatrix mat = new TriggerSupportMatrix( "svg", false ); 
		assertEquals( false, mat.check( TriggerCondition.ONCLICK_LITERAL,
				ActionType.TOGGLE_DATA_POINT_VISIBILITY_LITERAL ) );
		
		assertEquals( true, matSVG.check( TriggerCondition.ONCLICK_LITERAL,
				ActionType.TOGGLE_DATA_POINT_VISIBILITY_LITERAL ) );
	}
}