EVENT_INTERACTIVE_LEGEND
- Updated2023-02-21
- 1 minute(s) read
EVENT_INTERACTIVE_LEGEND
Description
When a user right-clicks the graph or strip chart legend and selects an item from the interactive legend menu, LabWindows/CVI generates an EVENT_INTERACTIVE_LEGEND event and sends the event to the callback function associated with the control.
This event is not swallowable.
Applies To
Graphs and strip charts
Event Data Parameters
eventData1 = The plot ID for graphs or the trace index for strip charts
![]() |
Note Although trace indices for strip charts are 1-based, the values for trace indices returned by eventData1 are 0-based. For example, for an event that refers to trace 3, the value returned by eventData1 is 2. For backwards-compatibility purposes, National Instruments is not correcting this behavior. |
eventData2 = The menu item that the user selects, such as VAL_PLOT_COLOR, VAL_PLOT_STYLE, and so on
LabWindows/CVI Compatibility
LabWindows/CVI 8.1 and later