Bug 193263 Inconsistent result of average function between Chart and Table[0001]
Description: Set average function on Chart and Table, get the different result. Chart engine takes the null value as 0, but in DTE null will be discarded. I have checked the behavior of excel, the null value is discarded in it. Build version:2.2.0v20070619-0630 Steps to reproduce: 1. Get the attached report design file and preview.
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/series/DifferenceSeriesAttributeComposite.java
SWT.NONE,
				context,
				( (DifferenceSeries) series ).getLineAttributes( ),
				true,
				true,
				true );
		liacLine1.addListener( this );
		
		grpLine2 = new Group( grpLine, SWT.NONE );
		{
			GridData gdGRPLine = new GridData( GridData.FILL_BOTH );
			grpLine2.setLayout( new FillLayout( ) );
			grpLine2.setLayoutData( gdGRPLine );
			grpLine2.setText( Messages.getString( "DifferenceSeriesAttributeComposite.Lbl.NegativeLine" ) ); 
		}
		liacLine2 = new LineAttributesComposite( grpLine2,
				SWT.NONE,
				context,
				( (DifferenceSeries) series ).getNegativeLineAttributes( ),
				true,
				true,
				true );
		liacLine2.addListener( this );
		
		Composite cmpButton = new Composite( grpLine, SWT.NONE );
		{
			GridData gd = new GridData( );
			gd.horizontalSpan = 2;
			cmpButton.setLayoutData( gd );
			cmpButton.setLayout( new GridLayout( 2, true ) );