Dundas Chart for Windows Forms
LabelStyle Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Axis Class : LabelStyle Property


A Label object used to get or set label style properties of an axis.

Syntax

Visual Basic (Declaration)  
Public Property LabelStyle As Label
Visual Basic (Usage) Copy Code
Dim instance As Axis
Dim value As Label
 
instance.LabelStyle = value
 
value = instance.LabelStyle
C#  
public Label LabelStyle {get; set;}

Remarks

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).

Requirements

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

See Also

© 2009 All Rights Reserved.