Getting XML data from a chart using getXMLData() JavaScript API
You can retrieve the chart data along with all the attributes and properties in XML format when 'View Chart Data' button is clicked.
View Chart Data
The above sample showcases how to get data XML back from chart using getXMLData() function. Click here to know more on how the code of this example works.