TextAnnotation TextAnnotation TextAnnotation TextAnnotation Class

Definition

Represents a text annotation.

public ref class TextAnnotation : System::Web::UI::DataVisualization::Charting::Annotation
public class TextAnnotation : System.Web.UI.DataVisualization.Charting.Annotation
type TextAnnotation = class
    inherit Annotation
Public Class TextAnnotation
Inherits Annotation
Inheritance
Derived

Remarks

Note that other annotations, such as rectangle and ellipse annotations, can display inner text.

Constructors

TextAnnotation() TextAnnotation() TextAnnotation() TextAnnotation()

Initializes a new instance of the TextAnnotation class.

Properties

Alignment Alignment Alignment Alignment

Gets or sets the content alignment of an annotation.

(Inherited from Annotation)
AnchorAlignment AnchorAlignment AnchorAlignment AnchorAlignment

Gets or sets the position alignment of an annotation to the anchor point.

(Inherited from Annotation)
AnchorDataPoint AnchorDataPoint AnchorDataPoint AnchorDataPoint

Gets or sets the data point to which an annotation is anchored.

(Inherited from Annotation)
AnchorDataPointName AnchorDataPointName AnchorDataPointName AnchorDataPointName

Gets or sets the name of a data point to which an annotation is anchored.

(Inherited from Annotation)
AnchorOffsetX AnchorOffsetX AnchorOffsetX AnchorOffsetX

Gets or sets the offset from the anchor point for the X position of an annotation.

(Inherited from Annotation)
AnchorOffsetY AnchorOffsetY AnchorOffsetY AnchorOffsetY

Gets or sets the offset from the anchor point for the Y position of an annotation.

(Inherited from Annotation)
AnchorX AnchorX AnchorX AnchorX

Gets or sets the X coordinate to which the annotation is anchored.

(Inherited from Annotation)
AnchorY AnchorY AnchorY AnchorY

Gets or sets the Y coordinate to which the annotation is anchored.

(Inherited from Annotation)
AnnotationGroup AnnotationGroup AnnotationGroup AnnotationGroup

Gets the group, if any, in which the annotation belongs to.

(Inherited from Annotation)
AnnotationType AnnotationType AnnotationType AnnotationType

Gets the annotation type.

AxisX AxisX AxisX AxisX

Gets or sets the X axis to which an annotation is attached.

(Inherited from Annotation)
AxisXName AxisXName AxisXName AxisXName

Gets or sets the name of the X axis which an annotation is attached to.

(Inherited from Annotation)
AxisY AxisY AxisY AxisY

Gets or sets the Y axis which an annotation is attached to.

(Inherited from Annotation)
AxisYName AxisYName AxisYName AxisYName

Gets or sets the name of the Y axis which an annotation is attached to.

(Inherited from Annotation)
BackColor BackColor BackColor BackColor

This property is not applicable to the text annotation type.

BackGradientStyle BackGradientStyle BackGradientStyle BackGradientStyle

This property is not applicable to the text annotation type.

BackHatchStyle BackHatchStyle BackHatchStyle BackHatchStyle

This property is not applicable to the text annotation type.

BackSecondaryColor BackSecondaryColor BackSecondaryColor BackSecondaryColor

This property is not applicable to the text annotation type.

Bottom Bottom Bottom Bottom

Gets or sets the bottom boundary of an annotation position.

(Inherited from Annotation)
ClipToChartArea ClipToChartArea ClipToChartArea ClipToChartArea

Gets or sets the name of the chart area to which an annotation is clipped.

(Inherited from Annotation)
Font Font Font Font

Gets or sets the font for the annotation text.

ForeColor ForeColor ForeColor ForeColor

Gets or sets the text color of an annotation.

(Inherited from Annotation)
Height Height Height Height

Gets or sets the height of an annotation.

(Inherited from Annotation)
IsMultiline IsMultiline IsMultiline IsMultiline

Gets or sets a flag that indicates whether the annotation text is multiline.

IsSelected IsSelected IsSelected IsSelected

Gets or sets a flag that determines if an annotation is selected.

(Inherited from Annotation)
IsSizeAlwaysRelative IsSizeAlwaysRelative IsSizeAlwaysRelative IsSizeAlwaysRelative

Gets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates.

(Inherited from Annotation)
LineColor LineColor LineColor LineColor

This property is not applicable to the text annotation type.

LineDashStyle LineDashStyle LineDashStyle LineDashStyle

This property is not applicable to the text annotation type.

LineWidth LineWidth LineWidth LineWidth

This property is not applicable to the text annotation type.

MapAreaAttributes MapAreaAttributes MapAreaAttributes MapAreaAttributes

Gets or sets the map area attributes of an annotation.

(Inherited from Annotation)
Name Name Name Name

Gets or sets the unique name of an annotation.

(Inherited from Annotation)
PostBackValue PostBackValue PostBackValue PostBackValue

Gets or sets the postback value which can be processed on the Click event.

(Inherited from Annotation)
Right Right Right Right

Gets or sets the right boundary position of an annotation.

(Inherited from Annotation)
ShadowColor ShadowColor ShadowColor ShadowColor

Gets or sets the color of an annotation's shadow.

(Inherited from Annotation)
ShadowOffset ShadowOffset ShadowOffset ShadowOffset

Gets or sets the size of an annotation's shadow.

(Inherited from Annotation)
SmartLabelStyle SmartLabelStyle SmartLabelStyle SmartLabelStyle

Gets or sets the smart label style of an annotation.

(Inherited from Annotation)
Tag Tag Tag Tag

Gets or sets an object associated with this chart element.

(Inherited from ChartElement)
Text Text Text Text

Gets or sets the text of the annotation.

TextStyle TextStyle TextStyle TextStyle

Gets or sets the text style of an annotation.

(Inherited from Annotation)
ToolTip ToolTip ToolTip ToolTip

Gets or sets the tooltip text for an annotation.

(Inherited from Annotation)
Url Url Url Url

Gets or sets the URL of an annotation.

(Inherited from Annotation)
Visible Visible Visible Visible

Gets or sets a flag that specifies whether an annotation is visible.

(Inherited from Annotation)
Width Width Width Width

Gets or sets the width, in pixels, of an annotation.

(Inherited from Annotation)
X X X X

Gets or sets the X coordinate of an annotation.

(Inherited from Annotation)
Y Y Y Y

Gets or sets the Y coordinate of the annotation.

(Inherited from Annotation)
YAxisName YAxisName YAxisName YAxisName

Gets or sets the name of the Y axis which an annotation is attached to.

(Inherited from Annotation)

Methods

BringToFront() BringToFront() BringToFront() BringToFront()

Brings an annotation to the front of all annotations.

(Inherited from Annotation)
Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases unmanaged resources and, optionally, managed resources.

(Inherited from Annotation)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the current ChartElement.

(Inherited from ChartElement)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ResizeToContent() ResizeToContent() ResizeToContent() ResizeToContent()

Resizes an annotation according to its content size.

(Inherited from Annotation)
SendToBack() SendToBack() SendToBack() SendToBack()

Sends an annotation to the back of all the annotations.

(Inherited from Annotation)
SetAnchor(DataPoint) SetAnchor(DataPoint) SetAnchor(DataPoint) SetAnchor(DataPoint)

Anchors an annotation to the specified data point.

(Inherited from Annotation)
SetAnchor(DataPoint, DataPoint) SetAnchor(DataPoint, DataPoint) SetAnchor(DataPoint, DataPoint) SetAnchor(DataPoint, DataPoint)

Anchors an annotation to two data points.

(Inherited from Annotation)
ToString() ToString() ToString() ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to