Time series Chart report with Dynamic Range key and pen names

Hi All,

Can any one please give me an example of how to plot Time series chart using Edit script option in Report designer. I am trying to get the dynamic Range key and pen names. hope it would only be possible by scripting
is it possible? if yes can you please give me example script.