Perspective PowerChart props.tagBrowserStartPath binding not take effect at startup?

PowerChart props.tagBrowserStartPath

If I direct set it ,it can take effect.

If I bind it ,it can't take effect?

How to resolve ?

still happening in 8.1.44, no matter how i bind to it or write to it, half the time it shows the root when the view first loads

1 Like

Yes still an issue

Add sleep in Script.
The props.tagBrowserStartPath binding on Power Chart doesn't accept filter at startup - Ignition Early Access - Inductive Automation Forum

Or try make your binding Persistent. It works for me.

I tried, but still about 1 out of 5 times it doesnt load the correct path, which I'm sure is correct because I print it to console, and then when i click the refresh button then it loads the correct path.

Ok I think I have a work-around working reliably now.

Configure the binding on the chart to point to something that doesn't exist like this :

set that chart prop binding to be persistent.

then somewhere else like view.custom.tagBrowserStartPath, set up your binding to calculate the path that you actually want to use.

And then either as a change script or transform in that other binding, have it write to the prop on the chart.

When the view first loads you should first see "no results found" for a brief moment before it quickly loads what you actually want the user to see.

Ok I forget to mention I also add script transform for the binding. This way it always works.