.netCHARTING v10.5 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : DefaultAxis Property
DefaultAxis Property
Gets or sets an Axis object whose properties will trickle down to all other axes on the chart unless otherwise specified.
Syntax
'Declaration
 
Public Property DefaultAxis As Axis
'Usage
 
Dim instance As Chart
Dim value As Axis
 
instance.DefaultAxis = value
 
value = instance.DefaultAxis
public Axis DefaultAxis {get; set;}
Example
Axis AxisObj = new Axis();
 AxisObj.Line.Color = Color.Yellow;    
 AxisObj.Line.Width = 3;
 Chart.DefaultAxis = AxisObj;
Dim AxisObj As Axis  = new Axis()
AxisObj.Line.Color = Color.Yellow  
AxisObj.Line.Width = 3
Chart.DefaultAxis = AxisObj
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