property Node.IsAssistant as Boolean
Retrieves a value that specifies whether the node is an assistant.

TypeDescription
Boolean A boolean expression that indicates whether the node is an assistant node or a child node. 

The IsAssistant property gets True, if the node was added using the AddAssistant method, else it gets False. Use the IsAssistant property to determine whether the node is an assistant node or a child node. Use the RemoveAssistant method to remove an assistant node. Use the NodeFromPoint property to retrieve the node from the cursor.

The following VB sample prints the caption of the assistant node 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 = .NodeFromPoint(X / Screen.TwipsPerPixelX, Y / Screen.TwipsPerPixelY)
        If Not (n Is Nothing) Then
            If (n.IsAssistant) Then
                Debug.Print n.Caption
            End If
        End If
    End With
End Sub

The following C++ sample prints the caption of the assistant node from the cursor:

void OnMouseMoveChartview1(short Button, short Shift, long X, long Y) 
{
	CNode node = m_chartview.GetNodeFromPoint( X, Y );
	if ( node.m_lpDispatch != NULL )
		if ( node.GetIsAssistant() )
			OutputDebugString( node.GetCaption() );
}

The following VB.NET sample prints the caption of the assistant node 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_NodeFromPoint(e.x, e.y)
        If Not (n Is Nothing) Then
            If (n.IsAssistant) Then
                Debug.WriteLine(n.Caption)
            End If
        End If
    End With
End Sub

The following C# sample prints the caption of the assistant node from the cursor:

private void axChartView1_MouseMoveEvent(object sender, AxEXORGCHARTLib._IChartViewEvents_MouseMoveEvent e)
{
	EXORGCHARTLib.Node node = axChartView1.get_NodeFromPoint(e.x, e.y);
	if (node != null)
		if ( node.IsAssistant )
			System.Diagnostics.Debug.WriteLine(node.Caption);
}

The following VFP sample prints the caption of the assistant node from the cursor:

*** ActiveX Control Event ***
LPARAMETERS button, shift, x, y

With thisform.ChartView1
    local n
    n = .NodeFromPoint(x , y )
    If !isnull(n) then 
    	if ( n.IsAssistant )
	        wait window nowait n.Caption
	    Endif
    EndIf
EndWith