Hi, I have a problem loading my chart on the perspective screen. I use the script to adjust what the XY chart shows depending on the situation. Script generates .json format for dataSources.
When I load the window as a refresh or switch from another tab everything looks ok but when I try to use navigate sript doesn't generate. What it depends on how it can be prevented?
I think binding update problems with XY Chart have been fixed in 8.1.22.
See the changelog.
4429: XY Chart Expression Tag History binding with dynamic path causes Component Error
Fixed an issue with the XY Chart where the chart would not load when using a dynamic expression tag history bindings and switching views.
This had been a big puzzle for me and as a workaround I was refreshing the page on load. The upgrade fixed it.
It's simply the readout of device values from the tag provider.
Everything works fine but if I use navigate window script does not start. If I use refresh script it executes correctly.
Well that script is not complete and might run into a runtime error: it returns dictionnaries which is declared in an if statement. If the if is not entered, dictionnaries will not exist and can't be returned.