LabelStyle Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides properties that define the visual appearance of the axis labels.
public ref class LabelStyle : System::Windows::Forms::DataVisualization::Charting::ChartElement
public class LabelStyle : System.Windows.Forms.DataVisualization.Charting.ChartElement
type LabelStyle = class
inherit ChartElement
Public Class LabelStyle
Inherits ChartElement
- Inheritance
Remarks
Members of this class are also used to calculate the intervals and positions of the axis labels, and to draw them.
Constructors
LabelStyle() |
Initializes a new instance of the LabelStyle class. |
Properties
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. |
Methods
Dispose() |
Releases the resources used by the ChartElement. (Inherited from ChartElement) |
Dispose(Boolean) |
Releases the resources used by the LabelStyle. |
Equals(Object) |
Determines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement) |
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) |