Hi Team,
Can someone help understand what am i missing, I have a chart that updates every couple minutes. when the perspective tab is not active for some time it messes up the chart when i switch to it.
it shows some old values as well as new overlayed on top of each other
I am doing the binding refresh that refresh when the dataset updates and it corrects itself but it waits till the dataset is updated,
Chart looks like this
You could Add Change Script to currentTabIndex
and in that use system.perspective.sendMessage | Ignition User Manual, sending the currentTabIndex value as payload.
On the XY Chart you would Configure Scripts | Add a Component Message Handler and use that to refresh the chart binding if its payload currentTabIndex is the one with the XY Chart.
By tab i meant browser tab, sorry for confusion, this chart is displayed on the main view. Right now i am sending message by adding a script transform on the binding and refreshing binding on the message handler but that didn't help