LineAnnotation Class
Represents a line annotation.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
System.Web.UI.DataVisualization.Charting::ChartElement
System.Web.UI.DataVisualization.Charting::ChartNamedElement
System.Web.UI.DataVisualization.Charting::Annotation
System.Web.UI.DataVisualization.Charting::LineAnnotation
System.Web.UI.DataVisualization.Charting::HorizontalLineAnnotation
System.Web.UI.DataVisualization.Charting::VerticalLineAnnotation
| Name | Description | |
|---|---|---|
![]() | LineAnnotation() | Initializes a new instance of the LineAnnotation class. |
| Name | Description | |
|---|---|---|
![]() | Alignment | This property is not applicable to the line annotation type.(Overrides Annotation::Alignment.) |
![]() | AnchorAlignment | Gets or sets the position alignment of an annotation to the anchor point.(Overrides Annotation::AnchorAlignment.) |
![]() | AnchorDataPoint | Gets or sets the data point to which an annotation is anchored.(Inherited from Annotation.) |
![]() | AnchorDataPointName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of a data point to which an annotation is anchored.(Inherited from Annotation.) |
![]() | AnchorOffsetX | Gets or sets the offset from the anchor point for the X position of an annotation.(Inherited from Annotation.) |
![]() | AnchorOffsetY | Gets or sets the offset from the anchor point for the Y position of an annotation.(Inherited from Annotation.) |
![]() | AnchorX | Gets or sets the X coordinate to which the annotation is anchored.(Inherited from Annotation.) |
![]() | AnchorY | Gets or sets the Y coordinate to which the annotation is anchored.(Inherited from Annotation.) |
![]() | AnnotationGroup | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the group, if any, in which the annotation belongs to. (Inherited from Annotation.) |
![]() | AnnotationType | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type of annotation.(Overrides Annotation::AnnotationType.) |
![]() | AxisX | Gets or sets the X axis to which an annotation is attached.(Inherited from Annotation.) |
![]() | AxisXName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the X axis which an annotation is attached to.(Inherited from Annotation.) |
![]() | AxisY | Gets or sets the Y axis which an annotation is attached to.(Inherited from Annotation.) |
![]() | AxisYName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the Y axis which an annotation is attached to.(Inherited from Annotation.) |
![]() | BackColor | This property is not applicable to the line annotation type.(Overrides Annotation::BackColor.) |
![]() | BackGradientStyle | This property is not applicable to the line annotation type.(Overrides Annotation::BackGradientStyle.) |
![]() | BackHatchStyle | This property is not applicable to the line annotation type.(Overrides Annotation::BackHatchStyle.) |
![]() | BackSecondaryColor | This property is not applicable to the line annotation type.(Overrides Annotation::BackSecondaryColor.) |
![]() | Bottom | Gets or sets the bottom boundary of an annotation position.(Inherited from Annotation.) |
![]() | ClipToChartArea | Gets or sets the name of the chart area to which an annotation is clipped.(Inherited from Annotation.) |
![]() | EndCap | Gets or sets a style for the anchor cap at the end of the annotation line. |
![]() | Font | This property is not applicable to the line annotation type.(Overrides Annotation::Font.) |
![]() | ForeColor | This property is not applicable to the line annotation type.(Overrides Annotation::ForeColor.) |
![]() | Height | Gets or sets the height of an annotation.(Inherited from Annotation.) |
![]() | IsInfinitive | Gets or sets a flag that indicates whether an infinite line should be drawn. |
![]() | IsSelected | Gets or sets a flag that determines if an annotation is selected.(Inherited from Annotation.) |
![]() | IsSizeAlwaysRelative | Gets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates.(Overrides Annotation::IsSizeAlwaysRelative.) |
![]() | LineColor | Gets or sets the line color of an annotation.(Inherited from Annotation.) |
![]() | LineDashStyle | Gets or sets the line style of an annotation.(Inherited from Annotation.) |
![]() | LineWidth | Gets or sets the line width of an annotation.(Inherited from Annotation.) |
![]() | MapAreaAttributes | Gets or sets the map area attributes of an annotation.(Inherited from Annotation.) |
![]() | Name | Gets or sets the unique name of an annotation.(Inherited from Annotation.) |
![]() | PostBackValue | Gets or sets the postback value which can be processed on the Click event.(Inherited from Annotation.) |
![]() | Right | Gets or sets the right boundary position of an annotation.(Inherited from Annotation.) |
![]() | ShadowColor | Gets or sets the color of an annotation's shadow.(Inherited from Annotation.) |
![]() | ShadowOffset | Gets or sets the size of an annotation's shadow.(Inherited from Annotation.) |
![]() | SmartLabelStyle | Gets or sets the smart label style of an annotation.(Inherited from Annotation.) |
![]() | StartCap | Gets or sets a style for the anchor cap at the start of an annotation line. |
![]() | Tag | Gets or sets an object associated with this chart element.(Inherited from ChartElement.) |
![]() | TextStyle | This property is not applicable to the line annotation type. (Overrides Annotation::TextStyle.) |
![]() | ToolTip | Gets or sets the tooltip text for an annotation.(Inherited from Annotation.) |
![]() | Url | Gets or sets the URL of an annotation.(Inherited from Annotation.) |
![]() | Visible | Gets or sets a flag that specifies whether an annotation is visible.(Inherited from Annotation.) |
![]() | Width | Gets or sets the width, in pixels, of an annotation.(Inherited from Annotation.) |
![]() | X | Gets or sets the X coordinate of an annotation.(Inherited from Annotation.) |
![]() | Y | Gets or sets the Y coordinate of the annotation.(Inherited from Annotation.) |
![]() | YAxisName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the Y axis which an annotation is attached to.(Inherited from Annotation.) |
| Name | Description | |
|---|---|---|
![]() | BringToFront() | Brings an annotation to the front of all annotations.(Inherited from Annotation.) |
![]() | Dispose() | Releases the resources used by the ChartElement.(Inherited from ChartElement.) |
![]() | Dispose(Boolean) | Releases unmanaged resources and, optionally, managed resources.(Inherited from Annotation.) |
![]() | Equals(Object^) | Determines whether the specified Object is equal to the current ChartElement.(Inherited from ChartElement.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Returns a hash function for a particular type.(Inherited from ChartElement.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ResizeToContent() | Resizes an annotation according to its content size.(Inherited from Annotation.) |
![]() | SendToBack() | Sends an annotation to the back of all the annotations.(Inherited from Annotation.) |
![]() | SetAnchor(DataPoint^) | Anchors an annotation to the specified data point.(Inherited from Annotation.) |
![]() | SetAnchor(DataPoint^, DataPoint^) | Anchors an annotation to two data points.(Inherited from Annotation.) |
![]() | ToString() | Returns a string that represents the current Object.(Inherited from ChartElement.) |
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


