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
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Listener;
public class DifferenceSeriesAttributeComposite extends Composite
		implements
			SelectionListener,
			Listener
{
	private transient Button btnCurve = null;
	private transient Group grpLine1 = null;
	private transient LineAttributesComposite liacLine1 = null;
	
	private transient Group grpLine2 = null;
	private transient LineAttributesComposite liacLine2 = null;
	private transient Button btnPalette = null;
	private transient Series series = null;
	private transient ChartWizardContext context;
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.ui.extension/swt.series" ); 
	/**
	 * @param parent
	 * @param style
	 */