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
{
						percentileValue = new Double( ( (Number) oDataOrthogonal ).doubleValue( )
								/ total );
					}
					else if ( oDataOrthogonal instanceof NumberDataElement )
					{
						percentileValue = new Double( ( (NumberDataElement) oDataOrthogonal ).getValue( )
								/ total );
					}
				}
				else if ( isZeroValue == true )
				{
					percentileValue = new Double( 1.0 / iOrthogonalCount );
				}
				dpa[i] = new DataPointHints( oDataBase,
						oDataOrthogonal,
						seOrthogonal.getSeriesIdentifier( ),
						percentileValue,
						seOrthogonal.getDataPoint( ),
						fsBase,
						fsOrthogonal,
						fsSeries,
						fsPercentile,
						i,
						lo,
						dLength,
						rtc );
				udsh.next( dpa[i] );
			}
		}