LegendMouseUp

 

This event is generated whenever the mouse is positioned over the Legend and the user releases the mouse button.  The mouse button (left, right, or middle) must initially be pressed over the Legend.  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 released over the Y-Scale label, the event will pass along the scale's index via its YScaleLabel parameter.  If the mouse is released 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     LegendMouseDown     LegendMouseMove