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
( (DifferenceSeries) series ).getLineAttributes( )
						.setVisible( ( (Boolean) event.data ).booleanValue( ) );
				enableLineSettings( ( (DifferenceSeries) series ).getLineAttributes( )
						.isVisible( )
						|| ( (DifferenceSeries) series ).getNegativeLineAttributes( )
								.isVisible( ) );
			}
			else if ( event.type == LineAttributesComposite.STYLE_CHANGED_EVENT )
			{
				( (DifferenceSeries) series ).getLineAttributes( )
						.setStyle( (LineStyle) event.data );
			}
			else if ( event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT )
			{
				( (DifferenceSeries) series ).getLineAttributes( )
						.setThickness( ( (Integer) event.data ).intValue( ) );
			}
			else if ( event.type == LineAttributesComposite.COLOR_CHANGED_EVENT )
			{
				( (DifferenceSeries) series ).getLineAttributes( )
						.setColor( (ColorDefinition) event.data );
			}
		}
		else if ( event.widget.equals( liacLine2 ) )
		{
			if ( event.type == LineAttributesComposite.VISIBILITY_CHANGED_EVENT )
			{
				( (DifferenceSeries) series ).getNegativeLineAttributes( )
						.setVisible( ( (Boolean) event.data ).booleanValue( ) );
				enableLineSettings( ( (DifferenceSeries) series ).getNegativeLineAttributes( )