Annotation.SetAnchor Method (DataPoint, DataPoint)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Anchors an annotation to two data points.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

Public Sub SetAnchor (
	dataPoint1 As DataPoint,
	dataPoint2 As DataPoint
)

Parameters

dataPoint1
Type: System.Web.UI.DataVisualization.Charting.DataPoint

The first anchor DataPoint.

dataPoint2
Type: System.Web.UI.DataVisualization.Charting.DataPoint

The second anchor DataPoint.

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: