Dundas Chart for ASP.NET
MaxMovingDistance Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > SmartLabelsStyle Class : MaxMovingDistance Property


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

Syntax

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

Return Value

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

Remarks

This property specifies the maximum distance in pixels from the data point that data point labels are allowed to be moved in case of overlapping.

If the point cannot be drawn within the region specified by the properties  MaxMovingDistanceand MinMovingDistance in the directions allowed by the MovingDirection, and 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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.