Visual Basic (Declaration) | |
---|---|
Public Property LabelStyle As Label |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Label LabelStyle {get; set;} |
Use this property to specify the style, formatting, etc. of an axis' labels.
If the LabelsAutoFit property is true then the font size, font angle and the use of offset labels are determined automatically. Setting any one of the Label.Font.Size, Label.FontAngle and Label.OffsetLabels properties will result in the LabelsAutoFit property being set to false.
Note that if a format that consists of a date without a time is used for labels, and DateTime data point values are used that have times specified, then the times will affect the positions of data points even though they are not displayed (due to the label formatting).
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