Annotation.SetAnchor 方法

定义

将某个批注定位到指定的数据点。

重载

SetAnchor(DataPoint, DataPoint)

将某个批注定位到两个数据点。

SetAnchor(DataPoint)

将某个批注定位到指定的数据点。

SetAnchor(DataPoint, DataPoint)

将某个批注定位到两个数据点。

public:
 void SetAnchor(System::Web::UI::DataVisualization::Charting::DataPoint ^ dataPoint1, System::Web::UI::DataVisualization::Charting::DataPoint ^ dataPoint2);
public void SetAnchor (System.Web.UI.DataVisualization.Charting.DataPoint dataPoint1, System.Web.UI.DataVisualization.Charting.DataPoint dataPoint2);
member this.SetAnchor : System.Web.UI.DataVisualization.Charting.DataPoint * System.Web.UI.DataVisualization.Charting.DataPoint -> unit
Public Sub SetAnchor (dataPoint1 As DataPoint, dataPoint2 As DataPoint)

参数

dataPoint1
DataPoint

第一个定位点 DataPoint

dataPoint2
DataPoint

第二个定位点 DataPoint

注解

将批注的左上角和右下角定位到指定的数据点。

适用于

SetAnchor(DataPoint)

将某个批注定位到指定的数据点。

public:
 void SetAnchor(System::Web::UI::DataVisualization::Charting::DataPoint ^ dataPoint);
public void SetAnchor (System.Web.UI.DataVisualization.Charting.DataPoint dataPoint);
member this.SetAnchor : System.Web.UI.DataVisualization.Charting.DataPoint -> unit
Public Sub SetAnchor (dataPoint As DataPoint)

参数

dataPoint
DataPoint

批注将定位到的 DataPoint

适用于