I created a JSL script to automatically plot a variability chart in JMP and made the row legend to adjust my specific column into a specific colour (Chart in control flag). Unfortunately it did not captured the entire script when I used copy script feature in JMP. I've shared a picture with example below. The colour should be blue (Y) and red (N). It seemed like there's a problem with the chart in my second image. All the points should be in blue since everything is in control. Appreciate it if someone could advise on this. Thank you

