Represents a custom label for an axis.
CustomLabel class represents a single custom axis label. Text and position along the axis is provided by the user.
Visual Basic (Declaration) | |
---|---|
Public Class CustomLabel |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class CustomLabel |
This class represents a custom label for an axis. CustomLabel objects are stored in the CustomLabelsCollection class, which is exposed as the CustomLabels property of the Axis class.
Axes labels for the first label row are automatically generated unless custom labels are specified using this object property. For a detailed description on axes labelling refer to the Axis Labeling Methods topic.
Specifying a custom label along the first label row will result in no axis labels being generated automatically for the entire first row.
Only custom labels may be used for the second label row.
The To and From properties determine the axis range that the label applies to.
A grid line and/or tick mark can be displayed for a custom axis label by using the GridTick property, with the custom grid line and tick mark being drawn in the middle of the label range.
System.Object
Dundas.Charting.WebControl.CustomLabel
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