I have a time series chart with 13 pre configured pens. I would like to be able to enable/disable them based on the actual number at the specific site (up to 13). While I see a “visible” property under trends->0->visible, it doesn’t actually remove the pen from the legend, though it does from the chart. I would like to have a parameter for the view called “numPens” where I can just say 1-13 and it disable all those > numPens. Does anyone know of a way to disable the legend entry as well as the visibility of the pen?