VerticalLineAnnotation 类

定义

表示竖线批注。Represents a vertical line annotation.

public ref class VerticalLineAnnotation : System::Web::UI::DataVisualization::Charting::LineAnnotation
public class VerticalLineAnnotation : System.Web.UI.DataVisualization.Charting.LineAnnotation
type VerticalLineAnnotation = class
    inherit LineAnnotation
Public Class VerticalLineAnnotation
Inherits LineAnnotation
继承

构造函数

VerticalLineAnnotation()

初始化 VerticalLineAnnotation 类的新实例。Initializes a new instance of the VerticalLineAnnotation class.

属性

Alignment

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
AnchorAlignment

获取或设置批注相对于定位点的位置对齐方式。Gets or sets the position alignment of an annotation to the anchor point.

(继承自 LineAnnotation)
AnchorDataPoint

获取或设置批注所定位到的数据点。Gets or sets the data point to which an annotation is anchored.

(继承自 Annotation)
AnchorDataPointName

获取或设置批注所定位到的数据点的名称。Gets or sets the name of a data point to which an annotation is anchored.

(继承自 Annotation)
AnchorOffsetX

获取或设置批注的 X 位置相对于定位点的偏移量。Gets or sets the offset from the anchor point for the X position of an annotation.

(继承自 Annotation)
AnchorOffsetY

获取或设置批注的 Y 位置相对于定位点的偏移量。Gets or sets the offset from the anchor point for the Y position of an annotation.

(继承自 Annotation)
AnchorX

获取或设置批注所定位到的 X 坐标。Gets or sets the X coordinate to which the annotation is anchored.

(继承自 Annotation)
AnchorY

获取或设置批注所定位到的 Y 坐标。Gets or sets the Y coordinate to which the annotation is anchored.

(继承自 Annotation)
AnnotationGroup

获取批注所属的组(如果有)。Gets the group, if any, in which the annotation belongs to.

(继承自 Annotation)
AnnotationType

获取批注类型。Gets the annotation type.

AxisX

获取或设置批注所附加到的 X 轴。Gets or sets the X axis to which an annotation is attached.

(继承自 Annotation)
AxisXName

获取或设置批注所附加到的 X 轴的名称。Gets or sets the name of the X axis which an annotation is attached to.

(继承自 Annotation)
AxisY

获取或设置批注所附加到的 Y 轴。Gets or sets the Y axis which an annotation is attached to.

(继承自 Annotation)
AxisYName

获取或设置批注所附加到的 Y 轴的名称。Gets or sets the name of the Y axis which an annotation is attached to.

(继承自 Annotation)
BackColor

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
BackGradientStyle

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
BackHatchStyle

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
BackSecondaryColor

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
Bottom

获取或设置批注位置的下边界。Gets or sets the bottom boundary of an annotation position.

(继承自 Annotation)
ClipToChartArea

获取或设置批注所剪辑到的图表区域的名称。Gets or sets the name of the chart area to which an annotation is clipped.

(继承自 Annotation)
EndCap

获取或设置批注线条末尾的定位点端的样式。Gets or sets a style for the anchor cap at the end of the annotation line.

(继承自 LineAnnotation)
Font

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
ForeColor

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
Height

获取或设置批注的高度。Gets or sets the height of an annotation.

(继承自 Annotation)
IsInfinitive

获取或设置一个标志,该标志指示是否应绘制无限长的线条。Gets or sets a flag that indicates whether an infinite line should be drawn.

(继承自 LineAnnotation)
IsSelected

获取或设置用于确定是否已选择批注的标志。Gets or sets a flag that determines if an annotation is selected.

(继承自 Annotation)
IsSizeAlwaysRelative

获取或设置一个标志,该标志指定是否始终用相对图表坐标来定义批注的大小。Gets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates.

(继承自 LineAnnotation)
LineColor

获取或设置批注的线条颜色。Gets or sets the line color of an annotation.

(继承自 Annotation)
LineDashStyle

获取或设置批注的线条样式。Gets or sets the line style of an annotation.

(继承自 Annotation)
LineWidth

获取或设置批注的线条宽度。Gets or sets the line width of an annotation.

(继承自 Annotation)
MapAreaAttributes

获取或设置批注的映射区特性。Gets or sets the map area attributes of an annotation.

(继承自 Annotation)
Name

获取或设置批注的唯一名称。Gets or sets the unique name of an annotation.

(继承自 Annotation)
PostBackValue

获取或设置在发生 Click 事件时可以处理的回发值。Gets or sets the postback value which can be processed on the Click event.

(继承自 Annotation)
Right

获取或设置批注的右边界位置。Gets or sets the right boundary position of an annotation.

(继承自 Annotation)
ShadowColor

获取或设置批注阴影的颜色。Gets or sets the color of an annotation's shadow.

(继承自 Annotation)
ShadowOffset

获取或设置批注阴影的大小。Gets or sets the size of an annotation's shadow.

(继承自 Annotation)
SmartLabelStyle

获取或设置批注的智能标签样式。Gets or sets the smart label style of an annotation.

(继承自 Annotation)
StartCap

获取或设置批注线条起点的定位点端的样式。Gets or sets a style for the anchor cap at the start of an annotation line.

(继承自 LineAnnotation)
Tag

获取或设置与此图表元素关联的对象。Gets or sets an object associated with this chart element.

(继承自 ChartElement)
TextStyle

此属性不适用于行批注类型。This property is not applicable to the line annotation type.

(继承自 LineAnnotation)
ToolTip

获取或设置批注的工具提示文本。Gets or sets the tooltip text for an annotation.

(继承自 Annotation)
Url

获取或设置批注的 URL。Gets or sets the URL of an annotation.

(继承自 Annotation)
Visible

获取或设置指定批注是否可见的标志。Gets or sets a flag that specifies whether an annotation is visible.

(继承自 Annotation)
Width

获取或设置批注的宽度(以像素为单位)。Gets or sets the width, in pixels, of an annotation.

(继承自 Annotation)
X

获取或设置批注的 X 坐标。Gets or sets the X coordinate of an annotation.

(继承自 Annotation)
Y

获取或设置批注的 Y 坐标。Gets or sets the Y coordinate of the annotation.

(继承自 Annotation)
YAxisName

获取或设置批注所附加到的 Y 轴的名称。Gets or sets the name of the Y axis which an annotation is attached to.

(继承自 Annotation)

方法

BringToFront()

将某个批注置于所有批注的前面。Brings an annotation to the front of all annotations.

(继承自 Annotation)
Dispose()

释放由 ChartElement 占用的资源。Releases the resources used by the ChartElement.

(继承自 ChartElement)
Dispose(Boolean)

释放非托管资源和(可选)托管资源。Releases unmanaged resources and, optionally, managed resources.

(继承自 Annotation)
Equals(Object)

确定指定的 Object 是否等同于当前的 ChartElementDetermines whether the specified Object is equal to the current ChartElement.

(继承自 ChartElement)
GetHashCode()

返回特定类型的哈希算法。Returns a hash function for a particular type.

(继承自 ChartElement)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ResizeToContent()

根据批注的内容大小调整批注的大小。Resizes an annotation according to its content size.

(继承自 Annotation)
SendToBack()

将某个批注置于所有批注的后面。Sends an annotation to the back of all the annotations.

(继承自 Annotation)
SetAnchor(DataPoint)

将某个批注定位到指定的数据点。Anchors an annotation to the specified data point.

(继承自 Annotation)
SetAnchor(DataPoint, DataPoint)

将某个批注定位到两个数据点。Anchors an annotation to two data points.

(继承自 Annotation)
ToString()

返回表示当前 Object 的字符串。Returns a string that represents the current Object.

(继承自 ChartElement)

适用于