XY Chart NET 3 Control Reference
PlotMouseDown Event

This event is generated whenever the user positions the mouse over the plot area and presses down on its left, right, or middle button.  Refer to Chart Overview for an illustration of XY Chart NET's major components.

If Y-Stacking is being used, the chart will display more than one plot area.  In this case, a PlotMouseDown event will not be raised if the mouse is positioned and then pressed over the gap between the plots.

Syntax
[Visual Basic]
Event PlotMouseDown(Button As MouseButtons, Index As Integer, xPos As Integer, yPos As Integer)
[C#]
PlotMouseDown(System.Windows.Forms.MouseButtons Button, int Index, int xPos, int yPos)
[C++]
PlotMouseDown(System.Windows.Forms.MouseButtons Button, int Index, int xPos, int yPos)
       
Parameters
Button
Indicates which mouse button was pressed.
Index
A value greater than -1 indicates the graph's y-stacked index.  Y-stacked graphs are drawn with index 0 at the top, then index 1, and so on.
xPos
Indicates the x-position within the chart in pixels.
yPos
Indicates the y-position within the chart in pixels.
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.