LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Axis multiplier in Waveform Graph will autoscale limits when autoscale is disabled

Solved!
Go to solution

Hello,

 

I have a waveform graph with both autoscale and loose fit disabled on the Y-axis. If I change the Y scale multiplier using a property node, the upper and lower limits of the axis are automatically changed, even though autoscale is disabled (seen in LV2019 32-bit).

Y multiplier = 1Y multiplier = 1  Y multiplier = 0.49, Y axis limits changedY multiplier = 0.49, Y axis limits changed 

My expectation was only the waveform would be scaled in the Y axis, and not the axis limits too.

Y multiplier = 0.49, limits unchangedY multiplier = 0.49, limits unchanged

The simple workaround is to rewrite the upper and lower limits after writing the multiplier property, but I just wanted check that the observed behavior is by design and not a bug.

0 Kudos
Message 1 of 3
(3,051 Views)
Solution
Accepted by topic author Dataflow_G

The scale doesn't auto scale. It's just the scale numbers that change.

 

The exact same data is visible. So, no scaling is happening.

 

In your case this might not work, but the opposite behavior, as it is now, might be useful just as often (it is for me).

 

So, read the scale min and max, set the scale multiplier and the min and max...

Message 2 of 3
(3,014 Views)

Hi G,

 

My expectation was only the waveform would be scaled in the Y axis, and not the axis limits too.

Why do you expect the scaling of the waveform plot when you change the properties of thy axis?

You change the (multiplier) property of the axis - and that multiplier is applied to the axis labels - just as expected (by me)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(3,008 Views)