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.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
public void Add( double labelsStep, DateTimeIntervalType intervalType, double min, double max, string format, int rowIndex, LabelMarkStyle markStyle )
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
Available since 4.0
Show: