I have a vision window with 8 different Easy Charts. One of them has all the tag pens of the 7 other ones combined. I would like a way to bind all the Start Dates together so the user doesn't have to change all of them each time.
At the start, I wanted to bind all the Start Dates of the 7 charts to the overview one.
I tried property binding each chart's Start Date to the overview chart startDate property, but that didn't work.
Then I thought it would be better to to bind all of them together so that, if you change one of them, the other 7 charts also change.
Is scripting the right way to go? I tried this in one of the chart's propertyChange:
event.source.parent.getComponent('Easy Chart 1').startDate=event.source.startDate
event.source.parent.getComponent('Easy Chart 2').startDate=event.source.startDate
...etc
Based on this thread I should put the code inside an if statement checking the property in question. But I don't have any particular value to compare to, I want the script to run whenever startDate changes.