PlotMouseDown

 

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 Overview for an illustration of XY Chart'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.    

The parameters passed along with the event are described below.

Parameter

Description

Button Indicates which mouse button was pressed.  1=Left button; 2=Right button; and 4=Middle button.
Index A value greater than 0 indicates the graph's y-stacked index.  Y-stacked graphs are drawn with index 1 at the top, then index 2, and so on.
xPos Indicates the x-position within the chart in twips.
yPos Indicates the y-position within the chart in twips.

 

                                                                                                                                                                                                                                                                     

See Also

Events