8.1 report module - add/delete pens in chart

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 ?