I have one script in which reference lines are automatically generated based on spec limits in a table (script needs to be JMP 7 compatible, which in a separate issue I can't set the spec values as properties for the pertinent table and to graph automatically ). It works in the first script I wrote, but tor some reason, when I incorporate these lines into another script, the plots are without the reference lines. When I select to "Save Script to Script Window" for the newly generated plot, it has no lines indicating that any reference line is plotted other than y=0 --- Add Ref Line( 0, Dotted, Medium Light Gray )
Also, in choosing a line color, I've seen the color written as both a string and not. Is there any functional difference in writing "Red" vs Red?
Current Data Table( y );
Variability Chart(
Y( :Etch_Rate ),
X( :Chamber, :Sample_Date ),
Std Dev Chart( 0 ),
Connect Cell Means( 1 ),
SendToReport(
Dispatch( {"Variability Chart for Etch_Rate"}, "2", ScaleBox, {Min( theMin ), Max( theMax ), Add Ref Line( uLimit, Dotted, Red ),
Add Ref Line( Avg, Dotted, Green ), Add Ref Line( lLimit, Dotted, Red )} ),
Dispatch( {"Variability Chart for Etch_Rate"}, "Variability Chart", FrameBox, {Frame Size( 547, 281 ),Marker Size( 5 )} ),
Dispatch( {"Variability Chart for Etch_Rate"}, "", NomAxisBox, Rotated Tick Labels( 1 ) )
)
Thanks for the help!