Plot Attribute Change Event

LabView Local Project Settings

Plot Attribute Change Event

Installed With: Full Development System

Class: GraphChart Events

Type: Notify

Generated when the user changes an attribute of a plot on a graph or chart by right-clicking the plot in the plot legend and selecting an item from the shortcut menu. This event is useful if you want to register user changes and then adjust the functionality of the graph.

Example

Event Data Fields

NameDescription
SourceSource of the event. LabVIEW UI refers to any built-in user interface event.

0LabVIEW UI
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
CtlRefReference to the control on which the event occurred.
PlotIdxIndex of the plot for which the attribute changed.
PlotRefReference to the plot for which the attribute changed.
OldAttribCluster that contains the attribute values of the plot before the user changed an attribute value.
NewAttribCluster that contains the attribute values of the plot after the user changed an attribute value.

Example

Refer to the Graph Events VI in the labview\examples\general\graphs directory for an example of using the Plot Attribute Change event.

 Open example  Browse related examples