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


Enterprise Edition Only Feature. Gets or sets the allowable direction(s) that the data point label is allowed to be moved.
Possible moving directions for the overlapped SmartLabel.

Syntax

Visual Basic (Declaration)  
Public Overridable Property MovingDirection As LabelAlignment
Visual Basic (Usage) Copy Code
Dim instance As SmartLabelsStyle
Dim value As LabelAlignment
 
instance.MovingDirection = value
 
value = instance.MovingDirection
C#  
public virtual LabelAlignment MovingDirection {get; set;}

Return Value

A LabelAlignment value or multiple bitwise OR'd LabelAlignment values. The default is the bitwise OR of all LabelAlignment values to allow repositioning in all directions except to the center of the data point.

Remarks

If the point cannot be drawn within the region specified by the properties MinMovingDistance and MaxMovingDistance in the directions allowed by the MovingDirections, and the HideOverlapped property is true then the data point label will not be drawn.

NOTE: SmartLabels only work when the Label angle property is set to zero.

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.