JSL to automate shaded axis range (reference line) based on date
Oct 12, 2016 2:18 PM(3173 views)
I'm working with a number of control charts that are organized by date (but labeled by a serial number). My control charts are phased by Quarter, but I would like the ability to highlight month (without phasing) by shading the x-axis. I am able to manually do this, but I would like to learn a JSL script that will allow me to link the "max" and "min" values of that reference line to a column that contains "month". So for example, if I would like to shade data for the month of September, the Min of my reference line is set equal to the start of all data in September and the Max is set equal to the end of all data in September.
I am new to JSL and am struggling on how to achieve this. If there is a better way I'm open to ideas, but I cannot change the marker type or color to do this as my chart says a lot and uses too many marker types and colors already.