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
for ( int i = 0; i < n / 2; i++ )
			{
				iaXY[2 * i] = (int) ( ( la[i].getX( ) + dTranslateX ) * dScale );
				iaXY[2 * i + 1] = (int) ( ( la[i].getY( ) + dTranslateY ) * dScale );
			}
		}
		return iaXY;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.chart.device.IPrimitiveRenderer#applyTransformation(org.eclipse.birt.chart.event.TransformationEvent)
	 */
	public void applyTransformation( TransformationEvent tev )
			throws ChartException
	{
		
		switch ( tev.getTransform( ) )
		{
			case TransformationEvent.TRANSLATE :
				dTranslateX += tev.getTranslateX( );
				dTranslateY += tev.getTranslateY( );
				break;
			case TransformationEvent.ROTATE :
				dRotateInDegrees += tev.getRotation( );
				break;
			case TransformationEvent.SCALE :
				dScale *= tev.getScale( );
				( (SwtDisplayServer) _ids ).setScale( dScale );