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/script/ScriptHandler.java
+ " *            IChartScriptContext\n" 
			+ " */\n" 
			+ "//function beforeDrawLegendEntry( label, context ){}\n" 
			+ "\n" 
			+ "/**\n" 
			+ " * Called before rendering Series.\n" 
			+ " * \n" 
			+ " * @param series\n" 
			+ " *            Series\n" 
			+ " * @param seriesRenderer\n" 
			+ " *            ISeriesRenderer\n" 
			+ " * @param context\n" 
			+ " *            IChartScriptContext\n" 
			+ " */\n" 
			+ "//function beforeDrawSeries( series, seriesRenderer, context ){}\n" 
			+ "\n" 
			+ "/**\n" 
			+ " * Called before rendering the title of a Series.\n" 
			+ " * \n" 
			+ " * @param series\n" 
			+ " *            Series\n" 
			+ " * @param label\n" 
			+ " *            Label\n" 
			+ " * @param context\n" 
			+ " *            IChartScriptContext\n" 
			+ " */\n" 
			+ "//function beforeDrawSeriesTitle( series, label, context ){}\n" 
			+ "\n" 
			+ "/**\n" 
			+ " * Called before drawing each marker line in an Axis.\n"