dotnetCHARTING Send comments on this topic.
Axis Constructor(String,Object,Object,Axis)
See Also 
dotnetCHARTING Namespace > Axis Class > Axis Constructor : Axis Constructor(String,Object,Object,Axis)


name
The name and label of this axis.
fromUnit
Units representing the values of the original axis.
toUnits
Units to convert to.
axisToShadow
The original axis whose tick labels are converted.
Initializes a new instance of the Axis class that will convert the tick labels of the specified axis to the specified units.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal fromUnit As Object, _
   ByVal toUnits As Object, _
   ByVal axisToShadow As Axis _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim fromUnit As Object
Dim toUnits As Object
Dim axisToShadow As Axis
 
Dim instance As Axis(name, fromUnit, toUnits, axisToShadow)
C# 
public Axis( 
   string name,
   object fromUnit,
   object toUnits,
   Axis axisToShadow
)

Parameters

name
The name and label of this axis.
fromUnit
Units representing the values of the original axis.
toUnits
Units to convert to.
axisToShadow
The original axis whose tick labels are converted.

Remarks

This instance must be added to Chart.AxisCollection. The specified axis must appear on the chart, otherwise, the new instance will have no effect when added to Chart.AxisCollection.

See Also