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
{
							if ( dAbsTotal != 0d )
							{
								dPercentMax = Math.max( ( dGroupMax / dAbsTotal ) * 100d,
										dPercentMax );
								dPercentMin = Math.min( ( dGroupMin / dAbsTotal ) * 100d,
										dPercentMin );
							}
						}
					}
				}
			}
			if ( ax.isPercent( ) ) 
			{
				if ( dPercentMax > 100 )
					dPercentMax = 100;
				if ( dPercentMin < -100 )
					dPercentMin = -100;
				if ( dPercentMax == 0 && dPercentMin == 0 )
				{
					dPercentMax = 100;
				}
				dAxisMin = dPercentMin;
				dAxisMax = dPercentMax;
			}
			if ( ( iType & LOGARITHMIC ) == LOGARITHMIC )
			{
				dAxisMin = 1;
			}
			oMin = new Double( dAxisMin );