Disabling Waveform Chart/Graph Autoscale Function Programmatically

Updated Oct 18, 2023

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Issue Details

I would like to disable the autoscale function from a Waveform Chart/Graph programatically. Is this possible and how can I do it?

Solution

This is possible with the use of property nodes. In order to accomplish this, you need to create a property node for the waveform chart/graph and select either the property XScale.ScaleFit or YScale.ScaleFit.
When you are creating XScale.ScaleFit or YScale.ScaleFit, you need to set the one of three following options depends on your needs:
  • 0 - Do not autoscale
  • 1 - Autoscale once now
  • 2 - Autoscale

Additional Information

AutoScale once now will fit the scale so that all available data points in the graph are currently visible. This will occur only on demand and can be used to relieve the user interface thread from the cpu-intensive autoscaling.