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


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.
Initializes a new instance of the Axis class that will recalculate time intervals of the specified axis.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal timeInterval As TimeInterval, _
   ByVal axisToShadow As Axis _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim timeInterval As TimeInterval
Dim axisToShadow As Axis
 
Dim instance As Axis(name, timeInterval, axisToShadow)
C# 
public Axis( 
   string name,
   TimeInterval timeInterval,
   Axis 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.

See Also