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/event/PrimitiveRenderEvent.java
final double dMaxY1 = bo1.getTop( ) + bo1.getHeight( );
					final double dMaxY2 = bo2.getTop( ) + bo2.getHeight( );
					dDiff = dMaxY1 - dMaxY2;
					if ( dDiff != 0 )
					{
						return ( dDiff < 0 ) ? IConstants.MORE
								: IConstants.LESS;
					}
					else
					{
						return IConstants.EQUAL;
					}
				}
			}
		}
	}
	public static final int compareTransposed( Bounds bo1, Bounds bo2 )
	{
		final double dMinY1 = bo1.getTop( );
		final double dMinY2 = bo2.getTop( );
		double dDiff = dMinY1 - dMinY2;
		if ( dDiff != 0 )
		{
			return ( dDiff < 0 ) ? IConstants.MORE : IConstants.LESS;
		}
		else
		{
			final double dMaxY1 = bo1.getTop( ) + bo1.getHeight( );
			final double dMaxY2 = bo2.getTop( ) + bo2.getHeight( );
			dDiff = dMaxY1 - dMaxY2;