Set Spec Limits to Display on Histogram
I have a function to set spec limits below and I would like to adapt this code, or add to it, to let me toggle displaying the lines on the histogram as is an option in the column properties menu as 'Show as Graph Reference Lines'SetSpecLimits = function({c, lsl, usl, tar},
cmd = Expr(c << SetProperty("Spec Limits", {LSL(expr(lsl)), USL(expr(usl)), Target(expr(tar))}));
eval(evalexpr(cmd)
...