SmartLabel Class Members
The following tables list the members exposed by SmartLabel.
Public Constructors
Name | Description | |
---|---|---|
SmartLabel Constructor | Initializes a new instance of the SmartLabel class. |
Public Properties
Name | Description | |
---|---|---|
AbsolutePosition | Gets or sets the absolute position of the smart label specified by a Point object. | |
Alignment | Gets or sets the primary label alignment. | |
AlignmentSecondary | Gets or sets a collection of secondary label alignment options. | |
AllowMarkerOverlap | Gets or sets a value that indicates whether smart labels are allowed to be positioned on top of element markers. This property should be set at the Chart.DefaultElement.SmartLabel property level. | |
AutoWrap | Gets or sets a value that specifies whether this label will automatically wrap if it gets too long. This feature allows the chart to maintain the largest possible area for chart data. (Inherited from dotnetCHARTING.Label) | |
Color | Gets or sets the color of this label. (Inherited from dotnetCHARTING.Label) | |
DistanceMaximum | Gets or sets the maximum distance a label is allowed to be moved by DynaicPosition away from the element it is labeling. | |
DynamicDisplay | Gets or sets a value that indicates whether the label is forced to be drawn even when there is no room. False means labels are always drawn. | |
DynamicPosition | Gets or sets a value that indicates whether the label will be positioned using collision detection. | |
Font | Gets or sets the font for this label. (Inherited from dotnetCHARTING.Label) | |
ForceVertical | Gets or sets a value that indicates whether the label is forced to be drawn vertically. | |
GlowColor | Gets or sets a Color used to create a glow effect around the drawn text. (Inherited from dotnetCHARTING.Label) | |
Hotspot | Gets or sets the Hotspot of this Label. (Inherited from dotnetCHARTING.Label) | |
Line | Gets or sets a Line object that facilitates the DynamicPosition functionality. | |
LineAlignment | Gets or sets the line alignment of this label. (Inherited from dotnetCHARTING.Label) | |
MaxWidth | (JS Charts Only) Specifies the maximum width of a label. If the label is wider than this width it will attempt to wrap. (Inherited from dotnetCHARTING.Label) | |
Offset | (JS Chart Only) Gets or sets a label offset in pixels when used with JS charts. (Inherited from dotnetCHARTING.Label) | |
OutlineColor | Gets or sets to color used to outline this label's text. (Inherited from dotnetCHARTING.Label) | |
Padding | Gets or sets the minimum amount of space between this label, other labels, and the element the label represents. | |
PieLabelMode | Gets or sets a PieLabelMode enumeration for pie and donut charts. | |
Placement | (JS Charts Only) Specifies if a label should be drawn inside or outside an object. Used with Series.ShapeLabels and with Element.SmartLabel. (Inherited from dotnetCHARTING.Label) | |
RadarLabelMode | Gets or sets a RadarLabelMode enumeration for radar charts. | |
Shadow | Gets or sets a Shadow object used to cast a shadow for this label's text. (Inherited from dotnetCHARTING.Label) | |
Text | Gets or sets the text for this label. (Inherited from dotnetCHARTING.Label) | |
Truncation | Gets or sets properties used to dynamically shorten this label when it reaches a maximum length. (Inherited from dotnetCHARTING.Label) | |
Type | Gets or sets a LabelType enumeration member which specifies the type of font used. (Inherited from dotnetCHARTING.Label) | |
Width | (JS Chart Only) Gets or sets the width of this label when used with JS charts. (Inherited from dotnetCHARTING.Label) |
Public Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from dotnetCHARTING.Label) | |
ToString | (Inherited from dotnetCHARTING.Label) |
See Also
Reference
SmartLabel Class
dotnetCHARTING Namespace
Using Labels
Reference
Tutorials
Label Alignment and Control
Formatting Values
Formatting Advanced