I have encountered an issue while attempting to display a pie chart on an ASP.NET webpage using the provided URL: . Despite passing valid values in the URL parameters, only the legend of the chart is displayed and not the chart itself. Can anyone provide insights into why this issue might be occurring?
Below is the code snippet illustrating how the URL is used within a context:
google.maps.event.addListener(marker, "click", function () {
'<div id="chartDiv">' + //Pie chart image
'<img src="http://chart.apis.google.com/chart?cht=p3&chs=340x140&chdl=field1%7Cfield2%7Cfield3%7Cfield4&chl='
+ field1+
'%25%7C'
+ field2+
'%25%7C'
+ field3+
'%25%7C'
+ field4+
'%25&chco=B32222|CC5C5C|BFBFBF|696969&chtt=&chts=000000,24&chd=t:'
+ field1+ ',' + field2+ ',' + field3 + ',' + field4 +
'" />' +
'</div>' + // End of chartdiv
}