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.swt/src/org/eclipse/birt/chart/device/swt/SwtRendererImpl.java
_gc.getClipping( rgPreviousClip );
			final Region rg = new Region( );
			rg.add( rgPreviousClip );
			rg.intersect( r );
			_gc.setClipping( rg );
			final Size szImage = _ids.getSize( img );
			final int iXRepeat = (int) ( Math.ceil( r.width
					/ szImage.getWidth( ) ) );
			final int iYRepeat = (int) ( Math.ceil( r.height
					/ szImage.getHeight( ) ) );
			for ( int i = 0; i < iXRepeat; i++ )
			{
				for ( int j = 0; j < iYRepeat; j++ )
				{
					_gc.drawImage( img,
							(int) ( r.x + i * szImage.getWidth( ) ),
							(int) ( r.y + j * szImage.getHeight( ) ) );
				}
			}
			img.dispose( );
			_gc.setClipping( rgPreviousClip );
			rg.dispose( );
			rgPreviousClip.dispose( );
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.chart.event.IPrimitiveRenderer#drawPolygon(org.eclipse.birt.chart.event.PolygonRenderEvent)
	 */