Scale Range Change Event

Requires: Base Development System

Class: GraphChart Events

Type: Notify

Generated when the user changes the minimum or maximum value of the scale of a graph or chart. The minimum or maximum value changes when the user enters a new value in a scale marker, pans or zooms the graph or chart, or the graph or chart autoscales. 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.
TimeValue of the millisecond timer when the event occurred.
KindType of scale that changed, such as X scale, Y scale, or Z scale.
IndexIndex of the scale that changed.
ScaleRefReference to the scale that changed.
NewRangeCluster that contains the new minimum value, maximum value, increment value, minimum increment value, and start value of the scale.

Example

Refer to the Graph Events VI in the labview\examples\Controls and Indicators\Graphs and Charts\Graphs - General directory for an example of using the Scale Range Change event.

 Open example  Find related examples