I did the following by accident, but it works. When I think about it that makes sense. However, it doesn't agree with the example in Help. Actually, it would seem that not only could you reuse the variable name, but you only need one variable name and shouldn't have to re-declare the variable for each FunctionParameter.
Has anyone explored this issue?
Thanks
var FP3 = new FunctionParameter("pClrFlt", FunctionParameter.COLOR);
FP3.setName("Flat Color");
FP3.setDefault(Color.RGB(125,158,192)); // light blue
var FP4 = new FunctionParameter("pClrSig", FunctionParameter.COLOR);
FP4.setName("Signal Color");
FP4.setDefault(Color.RGB(255,255,255)); // white
var FP4 = new FunctionParameter("pClrBkG", FunctionParameter.COLOR);
FP4.setName("Chart Background");
FP4.setDefault(Color.RGB(0,0,0)); // black
Has anyone explored this issue?
Thanks
var FP3 = new FunctionParameter("pClrFlt", FunctionParameter.COLOR);
FP3.setName("Flat Color");
FP3.setDefault(Color.RGB(125,158,192)); // light blue
var FP4 = new FunctionParameter("pClrSig", FunctionParameter.COLOR);
FP4.setName("Signal Color");
FP4.setDefault(Color.RGB(255,255,255)); // white
var FP4 = new FunctionParameter("pClrBkG", FunctionParameter.COLOR);
FP4.setName("Chart Background");
FP4.setDefault(Color.RGB(0,0,0)); // black
Comment