I just found the problem.
change the code from
"Private Sub winChartViewer1_MouseMovePlotArea(ByVal sender As Object,ByVal e As System.Windows.Forms.MouseEventArgs)"
to
"Private Sub WinChartViewer1_MouseMovePlotArea(sender As Object, e As MouseEventArgs) Handles WinChartViewer1.MouseMovePlotArea".
It works fine now. |