Nevron .NET Vision Documentation
NAxis Class
Members 


The NAxis class is the base class of all axes displayed on charts.
Object Model
NAxis Class
Syntax
'Declaration
 
<System.Xml.Serialization.XmlIncludeAttribute(Nevron.Chart.NPolarAxis)>
<System.Runtime.InteropServices.ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
<System.ComponentModel.TypeConverterAttribute("Nevron.Chart.lIl1II11l1, Nevron.Chart, Version=19.5.8.12, Culture=neutral, PublicKeyToken=2961c51bb98125d2")>
<System.Xml.Serialization.XmlIncludeAttribute(Nevron.Chart.NCartesianAxis)>
<System.Xml.Serialization.XmlIncludeAttribute(Nevron.Chart.NRadarAxis)>
<System.SerializableAttribute()>
Public MustInherit Class NAxis 
   Inherits NAxisBase
   Implements INChartElement, INChartElementContainer, INHitTestable, INMaster, INPreOrderPaintable2D, INPreOrderPaintable3D, INSlave, Nevron.Dom.INAtomicElement, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INElement, Nevron.Dom.INElementContainer, Nevron.Dom.INIdentifiable, Nevron.Dom.INNamed, Nevron.Dom.INNode, Nevron.Dom.INNodeContainer, Nevron.Dom.INUniquelyIdentifiable, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
'Usage
 
Dim instance As NAxis
[System.Xml.Serialization.XmlInclude(Nevron.Chart.NPolarAxis)]
[System.Runtime.InteropServices.ClassInterface(ClassInterfaceType.AutoDual)]
[System.ComponentModel.TypeConverter("Nevron.Chart.lIl1II11l1, Nevron.Chart, Version=19.5.8.12, Culture=neutral, PublicKeyToken=2961c51bb98125d2")]
[System.Xml.Serialization.XmlInclude(Nevron.Chart.NCartesianAxis)]
[System.Xml.Serialization.XmlInclude(Nevron.Chart.NRadarAxis)]
[System.Serializable()]
public abstract class NAxis : NAxisBase, INChartElement, INChartElementContainer, INHitTestable, INMaster, INPreOrderPaintable2D, INPreOrderPaintable3D, INSlave, Nevron.Dom.INAtomicElement, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INElement, Nevron.Dom.INElementContainer, Nevron.Dom.INIdentifiable, Nevron.Dom.INNamed, Nevron.Dom.INNode, Nevron.Dom.INNodeContainer, Nevron.Dom.INUniquelyIdentifiable, Nevron.Editors.INDomEditableNode, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
Remarks
Each axis displayed by the Nevron Chart for .NET component is represented by a class derived from this class. You can obtain a reference to a standard chart axis with the help of the Axis method of the NChart class. The following code obtains a reference to the PrimaryY axis. Dim axis As NAxis = NChart.Axis(StandardAxis.PrimaryY); NAxis axis = NChart.Axis(StandardAxis.PrimaryY); A reference to a custom axis can be obtained with the help of the second override of the Axis mehtod which receives a Int32 parameter which is the axis id. The following code demonstrates this. ' create a custom vertical axis Dim axis As NAxis = NChart.Axes.AddCustomAxis(AxisOrientation.Vertical,AxisDockZone.FrontRight) ' save the axis id Dim nAxisId As Integer = axis.AxisId ... ' obtain a reference to the axis with the saved id Dim customAxis As NAxis = NChart.Axis(nAxisId) // create a custom vertical axis NAxis axis = NChart.Axes.AddCustomAxis(AxisOrientation.Vertical, AxisDockZone.FrontRight); // save the axis id int nAxisId = axis.AxisId; ... // obtain a reference to the axis with the saved id NAxis customAxis = NChart.Axis(nAxisId); The NAxis class implements support for the following axis features:
Inheritance Hierarchy

System.Object
   Nevron.Chart.NChartNode
      Nevron.Chart.NChartElement
         Nevron.Chart.NChartElementContainer
            Nevron.Chart.NAxisBase
               Nevron.Chart.NAxis
                  Nevron.Chart.NCartesianAxis
                  Nevron.Chart.NPolarAxis
                  Nevron.Chart.NRadarAxis
                  Nevron.Chart.NTernaryAxis

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

NAxis Members
Nevron.Chart Namespace
NChart Class
StandardAxis Enumeration
AxisDockZone Enumeration
AxisOrientation Enumeration

Send Feedback