Annotation.SetAnchor Method (DataPoint, DataPoint)

.NET Framework (current version)
 

Anchors an annotation to two data points.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public void SetAnchor(
	DataPoint dataPoint1,
	DataPoint dataPoint2
)

Anchors an annotation's top-left and bottom-right corners to the specified data points.

.NET Framework
Available since 4.0
Return to top
Show: