Add on close to control chart builder platformI am making a graph for unique users per week out of a table that contains multiple events for those users. To do that I'm making a summary table with n categories(users) and making a control chart from that summary table (all in scripting). On close of the control chart, I would like to close the summary table as well. Is there a way to attach an <
The only other option I see is to append a Close button to the report and have that perform the close and clean-up tasks. However that is not as clean as using the built in close options.
If there is a way to make a "count unique values" graph in graph builder directly without using a summary table that would be even better.
ScriptingRe: Add on close to control chart builder platformUsing summarize doesn't allow me to put the variable into the control chart builder platform right? For that I would have to write the variable to a table column which has the same net result as using table << summary(...);
Thank for the other answer that solves my question!Re: Add on close to control chart builder platformIn scripting you can use the Summarize function.
For example:
dt = open("$SAMPLE_DATA/Big Class.jmp");
Summarize( dt, levels = by(:sex) );
show(levels);
Re: Add on close to control chart builder platformAll platforms including graph builder has report windows associated with them, and you can define an onClose event hander for them:
gb = GraphBuilder( ... );
rep = gb << report; // reference the report window for gb
rep << onClose(
// handle close event
);