Graphs produced via for loop not appending to new window using VlistBoxHello,
1. I have the list of all column names in colNameList.
2. I am trying to iterate through the dataset and only produce 2 different plots side by side (one way and variability) per column.
3. Trying to append those plots for each column (16,17,18) to a window called temp at the end of each iteration.
Final desired output :
New Window
plot-1,plot-2 (for i=16)
plot-3,plot-4 (for i=17)
plot-5,plot-6 (for i=18)
Error that I am getting when I run the following code: deleted object reference: vlb<
Please help to point what am I doing wrong.
Thanks
colNameList=dt<<GET column="" names="" new="" window=""></GET>
ScriptingRe: Graphs produced via for loop not appending to new window using VlistBoxThe first line is missing a semicolon - is that a copy/paste error? The log might show additional error messages, but if the New Window() call did not execute, variable "vlb" may refer to a previously created box that has been deleted.
Re: Graphs produced via for loop not appending to new window using VlistBoxHi,
Thank you for your reply. It works now. It was dumb on my part to not validate it correctly.
However, now I am running into a different issue. I made the variability plots and normal quantile plots so that the points on the graph appear highlighed and color coded according to the legend category but every legend category has turned into a blob of black dots. How can I fix this issue?
colNameList=dt<< Get Column Names();
vlb=V list Box();
j2=New Window("Plots",<<JOURNAL></JOURNAL>

Re: Graphs produced via for loop not appending to new window using VlistBoxI would suggest that you review the log for more errors in the execution of your script. The SendToReport command does not evaluate all of the arguments by default. You might be able to clear up some of those errors by forcing evaluation of the arguments, as in:
Dispatch({Eval("Variability Chart for"|| Char(colNameList[i]))}, ...)
As an alternative, I generally prefer to modify reports after the creation. SendToReport is very useful for preserving modifications when saving a script from a platform, but when writing a custom script there are other options. If you save the variability platform to a variable called "vari", you can modify the report with something like the following:
(vari << Report)["Variability Chart for"|| Char(colNameList[i])][FrameBox(1)] << (messages...)