Annotation.SetAnchor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Anchors an annotation to one or more data points.
Overloads
SetAnchor(DataPoint) |
Anchors an annotation to the specified data point. |
SetAnchor(DataPoint, DataPoint) |
Anchors an annotation to two data points. |
SetAnchor(DataPoint)
Anchors an annotation to the specified data point.
public:
void SetAnchor(System::Windows::Forms::DataVisualization::Charting::DataPoint ^ dataPoint);
public void SetAnchor (System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint);
member this.SetAnchor : System.Windows.Forms.DataVisualization.Charting.DataPoint -> unit
Public Sub SetAnchor (dataPoint As DataPoint)
Parameters
Remarks
Anchors an annotation to the specified data point.
Applies to
SetAnchor(DataPoint, DataPoint)
Anchors an annotation to two data points.
public:
void SetAnchor(System::Windows::Forms::DataVisualization::Charting::DataPoint ^ dataPoint1, System::Windows::Forms::DataVisualization::Charting::DataPoint ^ dataPoint2);
public void SetAnchor (System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1, System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2);
member this.SetAnchor : System.Windows.Forms.DataVisualization.Charting.DataPoint * System.Windows.Forms.DataVisualization.Charting.DataPoint -> unit
Public Sub SetAnchor (dataPoint1 As DataPoint, dataPoint2 As DataPoint)
Parameters
Remarks
Anchors an annotation's top-left and bottom-right corners to the specified data points.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET