Nevron .NET Vision
Nevron.Chart Namespace / NAxis Class / AxisId Property
Example


In This Topic
    AxisId Property
    In This Topic
    Retrieves the axis identificator - an unique number associated with each axis.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Retrieves the axis identificator - an unique number associated with each axis")>
    <System.Xml.Serialization.XmlIgnoreAttribute()>
    Public Property AxisId As System.Integer
    'Usage
     
    
    Dim instance As NAxis
    Dim value As System.Integer
     
    instance.AxisId = value
     
    value = instance.AxisId
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Retrieves the axis identificator - an unique number associated with each axis")]
    [System.Xml.Serialization.XmlIgnore()]
    public System.int AxisId {get; set;}
    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 NAxis =  NChart.Axes.AddCustomAxis(AxisOrientation.Vertical,AxisDockZone.FrontRight) 
    ' save the axis id 
    Dim axisId As Integer =  axis.AxisId
    // create a custom vertical axis
    NAxis axis = NChart.Axes.AddCustomAxis(AxisOrientation.Vertical, AxisDockZone.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