LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mads

Restricted autoscaling

Status: New

It would be nice if it was possible to restrict the autoscaling (in graphs and charts) to one direction only, and to limit its operation to a certain range.  A typical use for this would be to set the scale minimum to zero - and then let the autoscaling adjust the scale maximum.

 

You can of course achieve this by writing your own autoscaling function, however the need for such coding could easily be eliminated by adding a few options to the already existing feature. 

 

In addition to the directional limit and range it could have variables like a minimum step size / maximum allowable overshoot, maximum number of points off-scale etc.

 

 

 

5 Comments
JackDunaway
Trusted Enthusiast
Same with restricted panning, Kudos. A typical example is setting a constant vertical scale, but allowing panning along the horizonal (time) axis.
Dave_Thomson
Active Participant
Yes!  I've been thinking the same thing for quite a while, with the same typical use case - min=0, max=auto.  I suppose you could do this now with an XControl - let it autoscale in the background, then manually set the min to 0 and the max to the background result.  Still a lot of coding, though...
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
tomlawton
Member

Commenting, to bring this back on radar!

Yes, please, desperately- a code-free option to keep X=0 or Y=0 in-view, in the graph properties!!

qubirt
Member

Agreed. This would be a generally useful feature that deserves to be implemented natively and with standardized behavior. Custom versions of this feature have likely been coded many times!

AristosQueue (NI)
NI Employee (retired)

LabVIEW NXG has part of this idea implemented: a ‘GrowOnly’ autoscaling option that will only expand the range (never collapse it). The remainder of this idea is being considered for a future LabVIEW NXG release.