Using exportChart Function. Click 'Export Chart' button to export the chart.
The above sample showcases how to use exportChart function in JavaScript. Click here to know more on how the code of this example works.