| T O P I C R E V I E W |
| wallacej |
Posted - 01/19/2005 : 08:35:19 AM I have a labtalk script that generates a report from an Excel worksheet. There are several graphs on the report. I am trying to automate the update of the x axis scale on one of the graphs when the user clicks a button. The scale should be set as the same of that on another graph when the button is clicked.
Can anybody point me in the right direction, I only need help with the part where the x axis scale is updated, not with the use of buttons.
Thank You |
| 2 L A T E S T R E P L I E S (Newest First) |
| wallacej |
Posted - 01/19/2005 : 11:34:50 AM Thank You again
That really helped |
| Mike Buess |
Posted - 01/19/2005 : 10:21:01 AM The following script copies the X axis scale from Graph1/layer1 to Graph2/layer1.
win -a Graph1; xFrom = layer1.x.from; xTo = layer1.x.to; win -a Graph2; layer1.x.from = xFrom; layer1.x.to = xTo;
You can also use the system variables X1 and X2 but there are many more properties of the layer.axis object that you might find useful.
Mike Buess Origin WebRing Member |