The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 howto create template with LABTALKscript
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Steve Dreger

berlin, germany
5 Posts

Posted - 09/29/1998 :  7:38:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I wanted to create a template of an Column Graph including a Status-Panel that gives information of the sum and average of all shown bars etc. But the script that is attached to this panel needs the name of the worksheet the graph belongs to.
So when I use this template to create a graph of any worksheet, the panel-script won't work until correcting the wks.-name in the script.
If you know an global variable or an object-property which contains the worksheet- name of a graph I would be grateful for every tip.
here is my actual panel script: (How can I extract the WORKSHEETNAME of an graph)

---------------------------------------------
sum ([WORKSHEETNAME]_B);
myPanel.v1=sum.total;
myPanel.v2=sum.total/[WORKSHEETNAME]!Wks.maxRows;

Steve Dreger

paulwel

Netherlands
14 Posts

Posted - 09/30/1998 :  7:10:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Steve, maybe this is something:

when using the layer -c command, all dataset names plotted will be put into the %Z variable.

good luck
Paul van der Wel

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000