Axis::LabelStyle Property
Gets or sets the LabelStyle properties of an axis.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] [BindableAttribute(true)] public: property LabelStyle^ LabelStyle { LabelStyle^ get (); void set (LabelStyle^ value); }
Property Value
Type: System.Web.UI.DataVisualization.Charting::LabelStyleA LabelStyle object, which defines the axis label style.
Use this property to specify the style, formatting, and so forth, of axis labels.
If the IsLabelAutoFit property is true, the font size, font angle and the use of offset labels are determined automatically. If you set any one of the LabelStyle.Font.Size, Angle or IsStaggered properties, the IsLabelAutoFit property will be set to false.
Note that if a format that consists of a date without a time is used for labels, and the DateTime data point values that are used specify times, the times will affect the positions of the data points, even though they are not displayed due to the label formatting.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.