See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

YAxis Property

Gets or Sets the main YAxis which all series inherit by default.

[Visual Basic]
Public Property YAxis As Axis
[C#]
public Axis YAxis {get; set;}

Example

[C#] 

//Import Drawing2D : <%@ Import Namespace="System.Drawing.Drawing2D" %> 
 Axis yAxisObj = new Axis(); 
 yAxisObj.Line.StartCap = LineCap.RoundAnchor;     
 yAxisObj.Line.EndCap = LineCap.ArrowAnchor; 
 yAxisObj.Line.Width =3; 
 yAxisObj.Label.Text="customized yAxis"; 
 Chart.YAxis = yAxisObj;

[Visual Basic] 

'Import Drawing2D : <%@ Import Namespace="System.Drawing.Drawing2D" %>
Dim yAxisObj As Axis = new Axis()
yAxisObj.Line.StartCap = LineCap.RoundAnchor
yAxisObj.Line.EndCap = LineCap.ArrowAnchor
yAxisObj.Line.Width = 3
yAxisObj.Label.Text="customized yAxis"
Chart.YAxis = yAxisObj

See Also

Chart Class  | Chart Members

 

 


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