Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AnnotationSmartLabelStyle Class

Stores the smart label properties of an annotation.

System::Object
  System.Web.UI.DataVisualization.Charting::SmartLabelStyle
    System.Web.UI.DataVisualization.Charting::AnnotationSmartLabelStyle

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public ref class AnnotationSmartLabelStyle : public SmartLabelStyle

The AnnotationSmartLabelStyle type exposes the following members.

  NameDescription
Public methodAnnotationSmartLabelStyle()Initializes a new instance of the AnnotationSmartLabelStyle class.
Public methodAnnotationSmartLabelStyle(Object)Initializes a new instance of the AnnotationSmartLabelStyle class with the specified chart element.
Top

  NameDescription
Public propertyAllowOutsidePlotAreaGets or sets a flag that specifies whether a SmartLabelStyle object can be drawn outside the plotting area. (Inherited from SmartLabelStyle.)
Public propertyCalloutBackColorInfrastructure. 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. (Overrides SmartLabelStyle::CalloutBackColor.)
Public propertyCalloutLineAnchorCapStyleInfrastructure. Gets or sets the anchor cap style for the label callout line. (Overrides SmartLabelStyle::CalloutLineAnchorCapStyle.)
Public propertyCalloutLineColorInfrastructure. Gets or sets the color of the label callout line. (Overrides SmartLabelStyle::CalloutLineColor.)
Public propertyCalloutLineDashStyleInfrastructure. Gets or sets the style of the label callout line. (Overrides SmartLabelStyle::CalloutLineDashStyle.)
Public propertyCalloutLineWidthInfrastructure. Gets or sets the width of the label callout line. (Overrides SmartLabelStyle::CalloutLineWidth.)
Public propertyCalloutStyleInfrastructure. Gets or sets the callout style of the repositioned smart labels. (Overrides SmartLabelStyle::CalloutStyle.)
Public propertyEnabledGets or sets a flag that indicates whether a SmartLabelStyle algorithm is enabled. (Inherited from SmartLabelStyle.)
Public propertyIsMarkerOverlappingAllowedGets or sets a flag that specifies whether the point labels are allowed to overlap a point marker. (Inherited from SmartLabelStyle.)
Public propertyIsOverlappedHiddenGets or sets a flag that indicates whether overlapped labels that cannot be repositioned will be hidden. (Inherited from SmartLabelStyle.)
Public propertyMaxMovingDistanceGets or sets the maximum distance, in pixels, that the overlapped SmartLabelStyle object can be moved from the marker. (Inherited from SmartLabelStyle.)
Public propertyMinMovingDistanceGets or sets the minimum distance, in pixels, that the overlapped SmartLabelStyle object can be moved from the marker. (Inherited from SmartLabelStyle.)
Public propertyMovingDirectionGets or sets the direction(s) in which the overlapped SmartLabelStyle object is allowed to be moved. (Inherited from SmartLabelStyle.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft