Using getObjectReference Function
The button below the chart accesses the chart object using getObjectReference function and shows chart's data.
The above sample showcases how to use getObjectReference function in JavaScript. Click here to know more on how the code of this example works.