LabelStyle Class
.NET Framework 4.5
Provides properties that define the visual appearance of the axis labels.
System.Object
System.Windows.Forms.DataVisualization.Charting.ChartElement
System.Windows.Forms.DataVisualization.Charting.LabelStyle
System.Windows.Forms.DataVisualization.Charting.ChartElement
System.Windows.Forms.DataVisualization.Charting.LabelStyle
Namespace: System.Windows.Forms.DataVisualization.Charting
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
The LabelStyle type exposes the following members.
| 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 resources used by the LabelStyle. (Overrides ChartElement.Dispose(Boolean).) |
![]() | Equals | 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 | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current Object. (Inherited from ChartElement.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
