Getting JSON data from chart using getChartData function. Click View Chart Data to view the JSON data for the chart in a message box.