Export (0) Print
Expand All

CalloutAnnotation Class

Represents a callout annotation.

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

public class CalloutAnnotation : TextAnnotation

The CalloutAnnotation type exposes the following members.

  NameDescription
Public methodCalloutAnnotationInitializes a new instance of the CalloutAnnotation class.
Top

  NameDescription
Public propertyAlignmentGets or sets the content alignment of an annotation. (Inherited from Annotation.)
Public propertyAnchorAlignmentGets or sets the annotation position alignment to the anchor point. (Overrides Annotation.AnchorAlignment.)
Public propertyAnchorDataPointGets or sets the data point to which an annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorDataPointNameInfrastructure. Gets or sets the name of a data point to which an annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorOffsetXGets or sets the offset that the X-position of the annotation has from the anchor point. (Overrides Annotation.AnchorOffsetX.)
Public propertyAnchorOffsetYGets or sets the offset that the Y-position of the annotation has from the anchor point. (Overrides Annotation.AnchorOffsetY.)
Public propertyAnchorXGets or sets the X coordinate to which the annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorYGets or sets the Y coordinate to which the annotation is anchored. (Inherited from Annotation.)
Public propertyAnnotationGroupInfrastructure. Gets the group, if any, in which the annotation belongs to. (Inherited from Annotation.)
Public propertyAnnotationTypeInfrastructure. Gets or sets the annotation type name. For internal use, should not be used. (Overrides TextAnnotation.AnnotationType.)
Public propertyAxisXGets or sets the X axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisXNameInfrastructure. Gets or sets the name of the X axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyAxisYGets or sets the Y axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyAxisYNameInfrastructure. Gets or sets the name of the Y axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyBackColorGets or sets the background color of the annotation. (Overrides TextAnnotation.BackColor.)
Public propertyBackGradientStyleGets or sets the annotation background gradient style. (Overrides TextAnnotation.BackGradientStyle.)
Public propertyBackHatchStyleGets or sets the background hatch style of the annotation. (Overrides TextAnnotation.BackHatchStyle.)
Public propertyBackSecondaryColorGets or sets the secondary color for the annotation background. (Overrides TextAnnotation.BackSecondaryColor.)
Public propertyBottomGets or sets the bottom boundary of an annotation position. (Inherited from Annotation.)
Public propertyCalloutAnchorCapGets or sets the style for a callout line anchor cap.
Public propertyCalloutStyleGets or sets the annotation callout style.
Public propertyClipToChartAreaGets or sets the name of the chart area to which an annotation is clipped. (Inherited from Annotation.)
Public propertyFontGets or sets the font for the annotation text. (Inherited from TextAnnotation.)
Public propertyForeColorGets or sets the text color of an annotation. (Inherited from Annotation.)
Public propertyHeightGets or sets the height of an annotation. (Inherited from Annotation.)
Public propertyIsMultilineGets or sets a flag that indicates whether the annotation text is multiline. (Inherited from TextAnnotation.)
Public propertyIsSelectedGets or sets a flag that determines if an annotation is selected. (Inherited from Annotation.)
Public propertyIsSizeAlwaysRelativeGets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates. (Inherited from Annotation.)
Public propertyLineColorGets or sets the annotation line color. (Overrides TextAnnotation.LineColor.)
Public propertyLineDashStyleGets or sets the annotation line style. (Overrides TextAnnotation.LineDashStyle.)
Public propertyLineWidthGets or sets the line width of the annotation. (Overrides TextAnnotation.LineWidth.)
Public propertyMapAreaAttributesGets or sets the map area attributes of an annotation. (Inherited from Annotation.)
Public propertyNameGets or sets the unique name of an annotation. (Inherited from Annotation.)
Public propertyPostBackValueGets or sets the postback value which can be processed on the Click event. (Inherited from Annotation.)
Public propertyRightGets or sets the right boundary position of an annotation. (Inherited from Annotation.)
Public propertyShadowColorGets or sets the color of an annotation's shadow. (Inherited from Annotation.)
Public propertyShadowOffsetGets or sets the size of an annotation's shadow. (Inherited from Annotation.)
Public propertySmartLabelStyleGets or sets the smart label style of an annotation. (Inherited from Annotation.)
Public propertyTagGets or sets an object associated with this chart element. (Inherited from ChartElement.)
Public propertyTextGets or sets the text of the annotation. (Inherited from TextAnnotation.)
Public propertyTextStyleGets or sets the text style of an annotation. (Inherited from Annotation.)
Public propertyToolTipGets or sets the tooltip text for an annotation. (Inherited from Annotation.)
Public propertyUrlGets or sets the URL of an annotation. (Inherited from Annotation.)
Public propertyVisibleGets or sets a flag that specifies whether an annotation is visible. (Inherited from Annotation.)
Public propertyWidthGets or sets the width, in pixels, of an annotation. (Inherited from Annotation.)
Public propertyXGets or sets the X coordinate of an annotation. (Inherited from Annotation.)
Public propertyYGets or sets the Y coordinate of the annotation. (Inherited from Annotation.)
Public propertyYAxisNameInfrastructure. Gets or sets the name of the Y axis which an annotation is attached to. (Inherited from Annotation.)
Top

  NameDescription
Public methodBringToFrontBrings an annotation to the front of all annotations. (Inherited from Annotation.)
Public methodDispose()Releases the resources used by the ChartElement. (Inherited from ChartElement.)
Protected methodDispose(Boolean)Releases unmanaged resources and, optionally, managed resources. (Inherited from Annotation.)
Public methodEqualsDetermines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement.)
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 methodGetHashCodeReturns a hash function for a particular type. (Inherited from ChartElement.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodResizeToContentResizes an annotation according to its content size. (Inherited from Annotation.)
Public methodSendToBackSends an annotation to the back of all the annotations. (Inherited from Annotation.)
Public methodSetAnchor(DataPoint)Anchors an annotation to the specified data point. (Inherited from Annotation.)
Public methodSetAnchor(DataPoint, DataPoint)Anchors an annotation to two data points. (Inherited from Annotation.)
Public methodToStringReturns a string that represents the current Object. (Inherited from ChartElement.)
Top

A callout annotation is the only annotation that draws a connection between the annotation position and the anchor point. This class can also display text and automatically calculate its required size.

Different callout styles are supported.

.NET Framework

Supported in: 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft