Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
}
			}
		}
		return sb.toString( );
	}
	protected String getJsURLRedirect( URLValue uv )
	{
		StringBuffer js = new StringBuffer( "window.open('" ); 
		js.append( eval( 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];