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.engine/src/org/eclipse/birt/chart/factory/Generator.java
if ( lg.getPosition( ) == Position.INSIDE_LITERAL )
		{
			int iType = gcs.getType( );
			if ( iType == WITH_AXES )
			{
				Bounds bo = ( (PlotWithAxes) gcs.getComputations( ) ).getPlotBounds( );
				try
				{
					updateLegendInside( bo,
							lg,
							idr.getDisplayServer( ),
							cm,
							gcs.getRunTimeContext( ) );
				}
				catch ( ChartException gex )
				{
					throw new ChartException( ChartEnginePlugin.ID,
							ChartException.RENDERING,
							gex );
				}
			}
			else if ( iType == WITHOUT_AXES )
			{
				Bounds bo = ( (PlotWithoutAxes) gcs.getComputations( ) ).getBounds( );
				try
				{
					updateLegendInside( bo,
							lg,
							idr.getDisplayServer( ),
							cm,