.netCHARTING v10.5 Documentation
Example 


Element Property (Series)
Gets or sets an Element object which facilitates a shortcut for adding elements to the chart.
Syntax
'Declaration
 
Public Property Element As Element
'Usage
 
Dim instance As Series
Dim value As Element
 
instance.Element = value
 
value = instance.Element
public Element Element {get; set;}
Example
Add a single element to the chart collection.
Chart.Series.Element.YValue = 10;
Chart.Series.Element.Name = "Element 1";
Chart.Series.Elements.Add();
Chart.SeriesCollection.Add();
Chart.Series.Element.YValue = 10
Chart.Series.Element.Name = "Element 1"
Chart.Series.Elements.Add()
Chart.SeriesCollection.Add()
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