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


Enterprise Edition Only Feature. This class provides the functionality for intelligent, rule-based data point label positioning to overcome data point label overlapping issues.
SmartLabelsStyle class is used to enable and configure the SmartLabels algorithm for data point labels and annotations. In most of the cases it is enough just to enable the algorithm, but this class also contains properties which allow controlling how the labels are moved around to avoid collisions. Visual appearance of callouts can also be set through this class.

Syntax

Visual Basic (Declaration)  
Public Class SmartLabelsStyle 
Visual Basic (Usage) Copy Code
Dim instance As SmartLabelsStyle
C#  
public class SmartLabelsStyle 

Remarks

This class defines the style for data point SmartLabel? positioning.

To enable smart labels, set the Enabled property to true. The default value is false.

Using this class you can also:

  • automatically reposition the data point labels to prevent overlapping.
  • control the appearance of callout lines and the use of line end caps.
  • defines the rules with respect to distance of label repositioning.
  • defines the rules with respect to direction of label repositioning.
  • defines the overlapping rules with respect to labels and markers.
  • hide labels when overlapping issues cannot be resolved.


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

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.SmartLabelsStyle
      Dundas.Charting.WebControl.AnnotationSmartLabelsStyle

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.