This sample shows how to perform a Client-side export with JavaScript callback.
Right-Click on the chart and select any one of the "Save as..." option. Once the capturing of the chart is completed an alert box will appear. Then click "Save" to save the chart image. After the exporting is completed another alert box will appear. These alert boxes with messages are results of JavaScript callback.
The above sample showcases client-side export with JavaScript callback. Click here to know more on how the code of this example works.