Can someone assist me with a Google Pie Chart issue I'm encountering for the first time? I have two charts - a Bar chart and a Pie chart. When I click on a particular column in the bar chart, the corresponding pie chart should load on the same screen. The values for the pie chart are obtained through an ajax call, but I'm facing an error message Uncaught Error: Not an Array
.
The string returned from the ajax call is in the correct format, however, I am having trouble using the
google.visualization.arrayToDataTable()
method to generate the Pie Chart. Below is the code snippet:
JSP Code:
*********
<!-- JSP code goes here -->
I request your guidance and support in resolving this issue. Any help would be greatly appreciated.