SetAnchor Method (DataPoint, DataPoint)
Collapse the table of content
Expand the table of content

Annotation::SetAnchor Method (DataPoint^, DataPoint^)

.NET Framework (current version)
 

Anchors an annotation to two data points.

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

public:
void SetAnchor(
	DataPoint^ dataPoint1,
	DataPoint^ dataPoint2
)

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:
© 2016 Microsoft