Dynamic graphs/tables
Posted: Thu May 06, 2010 9:00 am
Hi,
I'd like to be able to make certain graphs/data tables dynamic. i.e. to allow the user to choose which parameter to display from a small set of parameters.
I've been able to do this with charts by having several buttons which load and unload the various parameters but can't link this to a data table. Also, it would be better to be able to choose from a list rather than have 4/5 buttons on the screen.
I thought I could introduce a dummy variable and graph that/display it in a table. Then use the buttons to set the dummy variable equal to other variables? But I can't find a way to do this.
I'm happy to use VBScript but not sure how to get Sable to read the code. I've saved a simple 'MoveToMainScreen' code in the scripts folder. When I use the Sable script syntax this works fine. But when I rename the file as a vbs file and alter the sytax (copied from Sable help), the Sable project won't open at all. The debugger I'm using doesn't pick up any errors in the code though. Have I misunderstood where to save VBScript code?
Hope this makes sense?!
Kate
I'd like to be able to make certain graphs/data tables dynamic. i.e. to allow the user to choose which parameter to display from a small set of parameters.
I've been able to do this with charts by having several buttons which load and unload the various parameters but can't link this to a data table. Also, it would be better to be able to choose from a list rather than have 4/5 buttons on the screen.
I thought I could introduce a dummy variable and graph that/display it in a table. Then use the buttons to set the dummy variable equal to other variables? But I can't find a way to do this.
I'm happy to use VBScript but not sure how to get Sable to read the code. I've saved a simple 'MoveToMainScreen' code in the scripts folder. When I use the Sable script syntax this works fine. But when I rename the file as a vbs file and alter the sytax (copied from Sable help), the Sable project won't open at all. The debugger I'm using doesn't pick up any errors in the code though. Have I misunderstood where to save VBScript code?
Hope this makes sense?!
Kate