How does one get a reference to an existing chart. Let say I have created a chart during the window.onload() event. Later, e.g. following a user configuration change request, I want to modify the chart configuration. How to I proceed to get a reference to the existing chart from outside the window.onload() event or from outside the method in which it was originally defined?