02-01-2016 03:23 PM
It's easy enough to read the default Y Scale plot range for any plot of a stacked chart, but this property doesn't appear to follow the currently applied range (EX: Manually zoomed or manually entered in an axis during execution). What property stores the current Y scale settings then (Autoscale, min, max, etc)?
Thanks,
XL600
Solved! Go to Solution.
02-01-2016 03:28 PM - edited 02-01-2016 03:37 PM
There is a YScale sub-menu when browsing for properties. This includes the Range maximum, minimum, etc.The auto-scale property is in the form of "YScale.ScaleFit".
These properties do change when the user zooms, or manually types in to the ranges.
Try this out:
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-01-2016 03:35 PM
check this vi it will help you friend
02-01-2016 03:37 PM
If you have stacked plots, you need to write to the Active Y Scale property to read the scale information for that specific plot.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-01-2016 03:48 PM
Thanks, that was the thing I was missing. I have another VI which was changing the active Y axis in an event that I didn't spot. It was changing it back to defaults for that axis (Based on a global set of axis settings).
XL600
02-01-2016 03:51 PM - edited 02-01-2016 03:51 PM
No problem. The whole Active Plot thing always seemed to bite me in the butt for a while until I got in the habit of checking for it. Sometimes I wish that the properties would have an array input/output option as well.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'