echoi Posted May 29, 2012 Share Posted May 29, 2012 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. Link to comment Share on other sites More sharing options...
AzeoTech Posted May 31, 2012 Share Posted May 31, 2012 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)" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.