Powerchart - Add pens via script

Hi,
Is there a possible way to add pens to a powerchart via a script.
e.g list of tagpaths?

2 Likes

It’ll be more than just a list of tagpaths, but have a look at the props.pens property.
props.pens[x].data.source is where the tagpath would go.

Does someone have a script example for creating a loadable list of tags. Not sure how to best handle this but would be a nice feature to make a selectable list of preconfigured tags that can be loaded via a drop down. Thanks,

in the tagpens properties of easy chart, select the cell that contains the path, then in ‘cell update’ you must put the ‘selected string’ property of the drop-down component

Adhoc Trends in Ignition Exchange.