Dundas Chart for Windows Forms
Anchor(DataPoint,DataPoint) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Annotation Class > Anchor Method : Anchor(DataPoint,DataPoint) Method


dataPoint1
First anchor DataPoint.
First anchor DataPoint.
dataPoint2
Second anchor DataPoint.
Second anchor DataPoint.

Enterprise Only Feature. Anchors an annotation to two data points.


Anchors an annotation to two data points.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Anchor( _
   ByVal dataPoint1 As DataPoint, _
   ByVal dataPoint2 As DataPoint _
) 
Visual Basic (Usage) Copy Code
Dim instance As Annotation
Dim dataPoint1 As DataPoint
Dim dataPoint2 As DataPoint
 
instance.Anchor(dataPoint1, dataPoint2)
C#  
public void Anchor( 
   DataPoint dataPoint1,
   DataPoint dataPoint2
)

Parameters

dataPoint1
First anchor DataPoint.
First anchor DataPoint.
dataPoint2
Second anchor DataPoint.
Second anchor DataPoint.

Remarks

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


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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.