.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class > Axis Constructor : Axis Constructor(String,TimeInterval,Axis)
The name and label of this axis.
A TimeInterval enumaration that specifies the new TimeInterval for this axis.
An axis to derived from.
Axis Constructor(String,TimeInterval,Axis)
Initializes a new instance of the Axis class that will recalculate time intervals of the specified axis.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal timeInterval As TimeInterval, _
   ByVal axisToShadow As Axis _
)
'Usage
 
Dim name As String
Dim timeInterval As TimeInterval
Dim axisToShadow As Axis
 
Dim instance As New Axis(name, timeInterval, axisToShadow)

Parameters

name
The name and label of this axis.
timeInterval
A TimeInterval enumaration that specifies the new TimeInterval for this axis.
axisToShadow
An axis to derived from.
Remarks
This instance must be added to Chart.AxisCollection. The specified axis must appear on the chart and use Scale.Time, 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