Bewerken

Delen via


AnnotationSmartLabelStyle Class

Definition

Stores the smart label properties of an annotation.

public ref class AnnotationSmartLabelStyle : System::Windows::Forms::DataVisualization::Charting::SmartLabelStyle
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.NoNameExpandableObjectConverter))]
public class AnnotationSmartLabelStyle : System.Windows.Forms.DataVisualization.Charting.SmartLabelStyle
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.NoNameExpandableObjectConverter))>]
type AnnotationSmartLabelStyle = class
    inherit SmartLabelStyle
Public Class AnnotationSmartLabelStyle
Inherits SmartLabelStyle
Inheritance
AnnotationSmartLabelStyle
Attributes

Remarks

This class is derived from the SmartLabelStyle class used for Series objects.

Constructors

AnnotationSmartLabelStyle()

Initializes a new instance of the AnnotationSmartLabelStyle class.

AnnotationSmartLabelStyle(Object)

Initializes a new instance of the AnnotationSmartLabelStyle class with the specified chart element.

Properties

AllowOutsidePlotArea

Gets or sets a flag that specifies whether a SmartLabelStyle object can be drawn outside the plotting area.

(Inherited from SmartLabelStyle)
CalloutBackColor

Gets or sets the back color of the label callout. This property is only applicable when the CalloutStyle property is set to a value of Box.

CalloutLineAnchorCapStyle

Gets or sets the anchor cap style for the label callout line.

CalloutLineColor

Gets or sets the color of the label callout line.

CalloutLineDashStyle

Gets or sets the style of the label callout line.

CalloutLineWidth

Gets or sets the width of the label callout line.

CalloutStyle

Gets or sets the callout style of the repositioned smart labels.

Enabled

Gets or sets a flag that indicates whether a SmartLabelStyle algorithm is enabled.

(Inherited from SmartLabelStyle)
IsMarkerOverlappingAllowed

Gets or sets a flag that specifies whether the point labels are allowed to overlap a point marker.

(Inherited from SmartLabelStyle)
IsOverlappedHidden

Gets or sets a flag that indicates whether overlapped labels that cannot be repositioned will be hidden.

(Inherited from SmartLabelStyle)
MaxMovingDistance

Gets or sets the maximum distance, in pixels, that the overlapped SmartLabelStyle object can be moved from the marker.

(Inherited from SmartLabelStyle)
MinMovingDistance

Gets or sets the minimum distance, in pixels, that the overlapped SmartLabelStyle object can be moved from the marker.

(Inherited from SmartLabelStyle)
MovingDirection

Gets or sets the direction(s) in which the overlapped SmartLabelStyle object is allowed to be moved.

(Inherited from SmartLabelStyle)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to