CustomLabelsCollection.Add Method (Double, DateTimeIntervalType, Double, Double, String, Int32, LabelMarkStyle)

.NET Framework (current version)
 

Adds multiple custom labels to the collection. The labels will be DateTime labels with the specified interval type, and will be generated for the axis range that is determined by the min and max arguments.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

Public Sub Add (
	labelsStep As Double,
	intervalType As DateTimeIntervalType,
	min As Double,
	max As Double,
	format As String,
	rowIndex As Integer,
	markStyle As LabelMarkStyle
)

Parameters

labelsStep
Type: System.Double

A Double value that determines how often the custom labels will be drawn.

intervalType
Type: System.Web.UI.DataVisualization.Charting.DateTimeIntervalType

A DateTimeIntervalType enumeration value that determines the unit of measure for the labelsStep parameter.

min
Type: System.Double

The minimum value of the axis range.

max
Type: System.Double

The maximum value of the axis range.

format
Type: System.String

The label text format.

rowIndex
Type: System.Int32

The label row index.

markStyle
Type: System.Web.UI.DataVisualization.Charting.LabelMarkStyle

A T:System.Web.UI.DataVisualization.Charting.LabelMarkstyle enumeration value that specifies the tick mark style used for the label.

.NET Framework
Available since 4.0
Return to top
Show: