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


Enterprise Edition Only Feature. Gets or sets a value that specifies the minimum distance in pixels from the data point that data point labels will be moved in case of overlapping.
Minimum distance the overlapped SmartLabel can be moved from the marker. Distance is measured in pixels.

Syntax

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

Return Value

Gets or sets a double value. The default value is 0 pixels.

Remarks

This property specifies the minimum distance in pixels from the data point that data point labels will be moved in case of overlapping.

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.