See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

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.

[Visual Basic]
Public Property CalculateEmptyElement As Boolean
[C#]
public bool CalculateEmptyElement {get; set;}

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

[C#] 

Chart.CalculateEmptyElement = true;

[Visual Basic] 

Chart.CalculateEmptyElement = true

See Also

Chart Class  | Chart Members

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.