Vision Easy Chart 8.1 hide tags via script

Is there a way to hide tags via a script on a Vision easy chart in Ignition 8.1.26?

I have some tags that are indirect, however, there are a few of the lines that do not have that specific tag. I want to check if the tag is disabled and hide those tags on the chart.

The tags come from a UDT and we have the unused ones disabled..

In whatever scripting you are doing to alter for the indirection, simply omit the rows for the tags that are disabled.

If you are doing the indirection with cell update bindings, you will have to change to a scripted solution.