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
}
	protected String getJsURLRedirect( URLValue uv )
	{
		StringBuffer js = new StringBuffer( "window.open('" ); 
		js.append( eval2HTML( uv.getBaseUrl( ) ) );
		js.append( "','" ); 
		js.append( uv.getTarget( ) == null ? "self" : uv.getTarget( ) ); 
		js.append( "');" );
		return js.toString( );
	}
	/**
	 * Convert AWT shape to image map coordinates.
	 * 
	 * @param shape
	 * @return
	 */
	private String shape2polyCoords( Shape shape )
	{
		if ( shape == null )
		{
			return null;
		}
		ArrayList al = new ArrayList( );
		PathIterator pitr = shape.getPathIterator( null );
		double[] data = new double[6];
		
		while ( !pitr.isDone( ) )
		{
			int type = pitr.currentSegment( data );
			switch ( type )