Control Chart Builder - JSL to Activate/Deactivate Phases on a ChartWhat inspired this wish list request?
I write scripts for process engineers to generate Control Charts for their products as part of their Trend Review process. I have begun to add buttons to the chart window so that the engineers can turn on/off certain features, such as activating/deactivating spec limits. Another helpful feature of control chart builder is the Phase option, especially if one wants to compare production across multiple lines. This is a feature I want the engineers to be able to toggle on/off in real time.
What is the improvement you would like to see?
I would like for the object message << Phase() or something similar to be added to JMP for Control Chart Builder so that code can be written that would activate/deactivate Phasing at the click of a button. Considering phasing can be manually activated/deactivated if the Control Panel window is open on the chart, this should be made possible using JSL so it can be done in the background without requiring any knowledge of how to do it.
Why is this idea important?
Our engineers do not have the time to become JMP experts. I want to be able to provide them with scripts that are as helpful and as versatile as possible, while being incredibly intuitive and simple to use. To do this, I need these features to be possible in JSL, preferably without re-launching the control chart builder platform entirely.
Automation and ScriptingData Exploration and VisualizationQuality and Process EngineeringRe: Control Chart Builder - JSL to Activate/Deactivate Phases on a Chart - Status changed to: AcknowledgedThank your for submitting this request @jevanove . We are investigating.
Re: Control Chart Builder - JSL to Activate/Deactivate Phases on a ChartHi @jevanove, you can add a phase variable to an existing CCB graph by issuing the command, Add Variable.
Here's an example:
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = Control Chart Builder(
Variables( "Subgroup"(:Sample), "Y"(:Weight) )
);
Wait(1);
rpt=obj<
ccbb = rpt[Graph Builder Box( 1 )];
ccbb<
Re: Control Chart Builder - JSL to Activate/Deactivate Phases on a ChartAdd Variable and Remove Variable are in the Scripting Index for Graph Builder, but not for Control Chart Builder. We'll add these for CCB.
We'll change this to delivered, but please let us know if this does not address your request.
Thanks!
Re: Control Chart Builder - JSL to Activate/Deactivate Phases on a Chart - Status changed to: DeliveredRe: Control Chart Builder - JSL to Activate/Deactivate Phases on a ChartThank you for explaining this! JMP support had originally told me this was not possible, so I am happy to learn it is possible! I tested the code you provided and it works, and I was able to figure out the Remove Variable message as well.