Graph AutoScale


echoi

Recommended Posts

Posted

How do I invoke autoscale from command/ script?

I know I can right-click on graph and select autoscale from both axis but need an example for command/script.

Posted

You can't trigger the same auto-scale from script. Instead you need to change the axis scaling directly, something like:

component.myGraph.LeftAxis1.strScaleFrom = "min(myChannel)"

component.myGraph.LeftAxis1.strScaleTo = "max(myChannel)"

Archived

This topic is now archived and is closed to further replies.