CalculateEmptyElement Property
Gets or sets a value indicating whether the values of empty elements are percieved as 0 or omitted in calculations performed with the Chart.SeriesCollection.Add(Calculation calc) shortcut.
Syntax
Remarks
If this property is set to false, in all calculations (average,min,median,mode etc.) only the applicable elements are counted. If set to true, such elements are given 0 values and included in the calculation. This case occurs when you have multiple series and are calculating derived series from them. Defaults to true.
Example
Chart.CalculateEmptyElement = true;
Chart.CalculateEmptyElement = true
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also