LegendMouseDown

 

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

Each row within the legend consists of a label (Y-Scale label or Profile label).  If the mouse is pressed down over the Y-Scale label, the event will pass along the scale's index via its YScaleLabel parameter.  If the mouse is pressed down over the Profile label, the event will pass along the profile's index via its Profile parameter.  

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.
Profile A value greater than 0 indicates the Profile's index.
YScaleLabel A value greater than 0 indicates the Y-Scale's index.

 

 

See Also

Events     LegendMouseUp      LegendMouseMove