I am looking for a way to set the visibility of a button, based on whether or not a specific chart is activated.
So essentially the user will double click on the chart and when it opens, the button will become available.
Alternatively, you can allow users to click on a button to activate/deactivate the chart. I guess, there is no event like 'OnActivate' for charts, and that makes it hard to achieve it the way you want.
Retrieving data ...