Xceed Chart for WinForms v4.4 Documentation
AxisId Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Axis Class : AxisId Property
Retrieves the axis identificator - an unique number associated with each axis.
Syntax
'Declaration
 
<DescriptionAttribute("Retrieves the axis identificator - an unique number associated with each axis")>
<CategoryAttribute("General")>
Public ReadOnly Property AxisId As Integer
'Usage
 
Dim instance As Axis
Dim value As Integer
 
value = instance.AxisId
[Description("Retrieves the axis identificator - an unique number associated with each axis")]
[Category("General")]
public int AxisId {get;}
Remarks
The axis IDs of the standard axes are the same as their corresponding values from the StandardAxis enumeration.
Example
The following code obtains the id of a custom axis.
' create a custom vertical axis
Dim axis As Axis =  Chart.Axes.AddCustomAxis(AxisOrientation.Vertical,AxisPredefinedPosition.FrontRight) 
' save the axis id 
Dim axisId As Integer =  axis.AxisId
// create a custom vertical axis
Axis axis = Chart.Axes.AddCustomAxis(AxisOrientation.Vertical, AxisPredefinedPosition.FrontRight);
// save the axis id 
int axisId = axis.AxisId;
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

Reference

Axis Class
Axis Members