Bug 181361 Exception is thrown out in Chart builder when you set all null values for Value Series [0001]
Description: Exception is thrown out in Chart builder when you set all null values for Value Series. Build number: 2.2.0.v20070405-0630 Steps to reproduce: 1. Create a Bar Chart, set all null value data for Value Series. Expected result: No exception is thrown out. Actual result: Exception is thrown out (See the screenshot). Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java
- daY[1]
					+ insCA.getTop( )
					+ insCA.getBottom( )
					+ 1 );
		}
		if ( iDimension == TWO_5_D )
		{
			boPlotBackground.delta( dSeriesThickness, -dSeriesThickness, 0, 0 );
		}
		boPlotWithMargin = BoundsImpl.copyInstance( boPlotBackground );
		if ( iMarginPercent > 0 )
		{
			
			AutoScale scale = axPH.getScale( );
			if ( scale.getMaxWithMargin( ) != null
					|| scale.getMinWithMargin( ) != null )
			{
				if ( ( scale.getType( ) & LINEAR ) == LINEAR )
				{
					double factor = Math.abs( daX[1] - daX[0] )
							/ ( asDouble( scale.getMaximum( ) ).doubleValue( ) - asDouble( scale.getMinimum( ) ).doubleValue( ) );
					if ( scale.getMinWithMargin( ) != null )
					{
						boPlotWithMargin.setLeft( boPlotWithMargin.getLeft( )
								- factor
								* ( asDouble( scale.getMinimum( ) ).doubleValue( ) - asDouble( scale.getMinWithMargin( ) ).doubleValue( ) ) );
					}
					boPlotWithMargin.setWidth( factor
							* ( asDouble( scale.getMaxWithMargin( ) == null ? scale.getMaximum( )
									: scale.getMaxWithMargin( ) ).doubleValue( ) - asDouble( scale.getMinWithMargin( ) == null ? scale.getMinimum( )