Getting JSON data from chart using getChartData function
The above sample showcases how to use print using JavaScript reference. Click here to know more on how the code of this example works.