LabelStyle Class
Provides properties that define the visual appearance of the axis labels.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
System.Web.UI.DataVisualization.Charting::ChartElement
System.Web.UI.DataVisualization.Charting::LabelStyle
| Name | Description | |
|---|---|---|
![]() | LabelStyle() | Initializes a new instance of the LabelStyle class. |
| Name | Description | |
|---|---|---|
![]() | Angle | Gets or sets a value that represents the angle at which the font is drawn. |
![]() | Enabled | Gets or sets a flag that indicates whether the label is enabled. |
![]() | Font | Gets or sets the font of the label. |
![]() | ForeColor | Gets or sets the color of the label. |
![]() | Format | Gets or sets the formatting string for the label text. |
![]() | Interval | Gets or sets the size of the label interval. |
![]() | IntervalOffset | Gets or sets the offset of the label interval. |
![]() | IntervalOffsetType | Gets or sets the unit of measurement of the label interval offset. |
![]() | IntervalType | Gets or sets the unit of measurement for the size of a label interval. |
![]() | IsEndLabelVisible | Gets or sets a flag that determines whether the labels are shown at axis ends. |
![]() | IsStaggered | Gets or sets a flag that determines whether the labels are shown with an offset. |
![]() | Tag | Gets or sets an object associated with this chart element.(Inherited from ChartElement.) |
![]() | TruncatedLabels | Gets or sets a flag that determines whether the labels can be truncated. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases the resources used by the ChartElement.(Inherited from ChartElement.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the LabelStyle and optionally releases the managed resources.(Overrides ChartElement::Dispose(Boolean).) |
![]() | Equals(Object^) | Determines whether the specified Object is equal to the current ChartElement.(Inherited from ChartElement.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Returns a hash function for a particular type.(Inherited from ChartElement.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current Object.(Inherited from ChartElement.) |
Members of this class are also used to calculate the intervals and positions of the axis labels, and to draw them.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


