Dundas Chart for ASP.NET
Add(Double,DateTimeIntervalType,String,Int32,LabelMark) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > CustomLabelsCollection Class > Add Method : Add(Double,DateTimeIntervalType,String,Int32,LabelMark) Method


labelsStep
The interval that custom labels will be drawn at.
Label step size.
intervalType
A DateTimeIntervalType enumeration value, which determines the interval type.
Label step type.
format
A value that determines the formatting of the custom labels. See the Date and Time Format Strings topic in the MSDN library for further details.
Label text format.
rowIndex
Label row index.
Label row index.
mark
A LabelMark enumeration value that determines the label mark to be used, if any.
Label marking type.

Adds multiple DateTime CustomLabel objects to the collection. Populates an axis' entire label row with custom labels for the given axis range and row, with the specified label marks.


Adds custom labels into the collection using min and max values and step.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Add( _
   ByVal labelsStep As Double, _
   ByVal intervalType As DateTimeIntervalType, _
   ByVal format As String, _
   ByVal rowIndex As Integer, _
   ByVal mark As LabelMark _
) 
Visual Basic (Usage) Copy Code
Dim instance As CustomLabelsCollection
Dim labelsStep As Double
Dim intervalType As DateTimeIntervalType
Dim format As String
Dim rowIndex As Integer
Dim mark As LabelMark
 
instance.Add(labelsStep, intervalType, format, rowIndex, mark)
C#  
public void Add( 
   double labelsStep,
   DateTimeIntervalType intervalType,
   string format,
   int rowIndex,
   LabelMark mark
)

Parameters

labelsStep
The interval that custom labels will be drawn at.
Label step size.
intervalType
A DateTimeIntervalType enumeration value, which determines the interval type.
Label step type.
format
A value that determines the formatting of the custom labels. See the Date and Time Format Strings topic in the MSDN library for further details.
Label text format.
rowIndex
Label row index.
Label row index.
mark
A LabelMark enumeration value that determines the label mark to be used, if any.
Label marking type.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.