.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class > Axis Constructor : Axis Constructor(String,ChangeValueDelegate,Axis)
The name and label of this axis.
A delegate used to pass a custom method used for processing tick values.
The original axis whose tick labels will be processed.
Axis Constructor(String,ChangeValueDelegate,Axis)
Initializes a new instance of the Axis class that will process the tick values of the specified axis based on a custom method.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal ChangeValue As ChangeValueDelegate, _
   ByVal axisToShadow As Axis _
)
'Usage
 
Dim name As String
Dim ChangeValue As ChangeValueDelegate
Dim axisToShadow As Axis
 
Dim instance As New Axis(name, ChangeValue, axisToShadow)

Parameters

name
The name and label of this axis.
ChangeValue
A delegate used to pass a custom method used for processing tick values.
axisToShadow
The original axis whose tick labels will be processed.
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.
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