

| Type | Description | |||
| X as OLE_XPOS_PIXELS | A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates. | |||
| Y as OLE_YPOS_PIXELS | A single that specifies the current Y location of the mouse pointer. The y values is always expressed in client coordinates | |||
| Node | A Node object whose LinkCaption property hovers the specified point. |
The following VB sample prints the caption on the link from the cursor:
Private Sub ChartView1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
With ChartView1
Dim n As EXORGCHARTLibCtl.Node
Set n = .LinkCaptionFromPoint(-1,-1)
If Not (n Is Nothing) Then
Debug.Print n.LinkCaption
End If
End With
End SubThe following C++ sample prints the caption on the link from the cursor:
void OnMouseMoveChartview1(short Button, short Shift, long X, long Y)
{
CNode node = m_chartview.GetLinkCaptionFromPoint( -1, -1 );
if ( node.m_lpDispatch != NULL )
OutputDebugString( node.GetLinkCaption() );
}The following VB.NET sample prints the caption on the link from the cursor:
Private Sub AxChartView1_MouseMoveEvent(ByVal sender As Object, ByVal e As AxEXORGCHARTLib._IChartViewEvents_MouseMoveEvent) Handles AxChartView1.MouseMoveEvent
With AxChartView1
Dim n As EXORGCHARTLib.Node = .get_LinkCaptionFromPoint(-1, -1)
If Not (n Is Nothing) Then
Debug.WriteLine(n.LinkCaption)
End If
End With
End SubThe following C# sample prints the caption on the link from the cursor:
private void axChartView1_MouseMoveEvent(object sender, AxEXORGCHARTLib._IChartViewEvents_MouseMoveEvent e)
{
EXORGCHARTLib.Node node = axChartView1.get_LinkCaptionFromPoint(-1, -1);
if (node != null)
System.Diagnostics.Debug.WriteLine(node.LinkCaption);
}The following VFP sample prints the caption on the link from the cursor:
*** ActiveX Control Event ***
LPARAMETERS button, shift, x, y
With thisform.ChartView1
local n
n = .LinkCaptionFromPoint(-1 , -1 )
If !isnull(n) Then
wait window nowait n.LinkCaption
EndIf
EndWith