.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > AxisMarker Class > AxisMarker Constructor : AxisMarker Constructor(String,Color,Object)
The Label drawn on the marker. The label trickles down to this AxisMarker object's LegendEntry.Name property unless one explicitly specified.
The color used to draw line at the specified position.
Numeric, DateTime, or Text value representing a point on an axis.
AxisMarker Constructor(String,Color,Object)
Initialize a new instance of the AxisMarker class with a label, Background object, and a numeric or time value representing a point on an axis..
Syntax
'Declaration
 
Public Function New( _
   ByVal label As String, _
   ByVal lineColor As Color, _
   ByVal myValue As Object _
)
'Usage
 
Dim label As String
Dim lineColor As Color
Dim myValue As Object
 
Dim instance As New AxisMarker(label, lineColor, myValue)
public AxisMarker( 
   string label,
   Color lineColor,
   object myValue
)

Parameters

label
The Label drawn on the marker. The label trickles down to this AxisMarker object's LegendEntry.Name property unless one explicitly specified.
lineColor
The color used to draw line at the specified position.
myValue
Numeric, DateTime, or Text value representing a point on an axis.
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