03-22-2019 11:50 AM
I am trying to scale two Y-axes to separate scales. I am pulling the begin/end values from an array of data in a channel.
I can't figure out how to set the second Y-axis in my graph in the same fashion using different values from the channel.
Here is an example of how I am setting my Y-axis scaling:
dim graph set graph = report.ActiveSheet.Objects("Graph Name") graph.YAxis.Scaling.AutoScalingType=0 graph.Yaxis.Scaling.Begin=chd(1,"[1]/Graph Settings") graph.Yaxis.Scaling.End=chd(2,"[1]/Graph Settings") graph.Yaxis.Scaling.Tick.Distance=chd(3,"[1]/Graph Settings")
03-25-2019 02:25 AM
Hello COMP.Engineer,
In this case you need to set the YAxisList array, like
graph.YAxisList(1).Scaling.Begin ...
Greetings
Walter