04-05-2017 06:50 AM
Does anyone know if you can programmatically swap scales (y-scales) in Labview. If so, how?
Thanks
04-05-2017 08:08 AM
Hi rmz,
there's a YScale.Swap property, which allows you to swap the min and max value of the scale.
When you want to swap the position of the Y axis (left or right side of the graph): this is only allowed at edit time. (I couldn't find a property for this.)
Possible solution workaround: create as many Y axes as you might need. Hide them when unused (using a property node). Assign the plots to the Y axis at runtime (using a property node).
04-05-2017 09:05 AM
It'll take some experimenting, but you can do it like this:
Note: If you move the scale to a funky position, the chart can become confused.
04-05-2017 10:08 AM
That is a good idea and probably is my best option. Thanks.