.netCHARTING v10.3 Documentation
Example 


dotnetCHARTING Namespace > ChartArea Class : DefaultElement Property
DefaultElement Property (ChartArea)
Gets or sets an Element object whose properties will trickle to all other elements on the chart unless otherwise specified. This is a shortcut to the DefaultSeries.DefaultElement property.
Syntax
'Declaration
 
Public Property DefaultElement As Element
'Usage
 
Dim instance As ChartArea
Dim value As Element
 
instance.DefaultElement = value
 
value = instance.DefaultElement
public Element DefaultElement {get; set;}
Example
myChartArea.DefaultElement.SmartLabel.Text = "%Name";
myChartArea.DefaultElement.SmartLabel.Text = "%Name"
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