LegendClick

 

This event is generated whenever the user clicks the mouse 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 a Y-Scale label is clicked on, the event will pass along the scale's index via its YScaleLabel parameter.  If a Profile label is clicked on, 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     LegendDoubleClick