Hi,
In report module I would like to add or delete a pen in my timeseries chart by script.
Is it possible and how to do this ?
Hi,
In report module I would like to add or delete a pen in my timeseries chart by script.
Is it possible and how to do this ?
No, the only place you can add scripts to a report is within the "Data" section, and pens cannot be added there.
Charts in the report module allow a configureChart
script to run. Those scripts can do anything the JFreeChart API permits. Very similar to using configureChart
scripts in Vision. I would expect you to be able to hide pens dynamically. Maybe not create them.
Many, many possibilities:
https://forum.inductiveautomation.com/search?q=configureChart