Draw multiple Google charts in for loop
问题 I am trying to draw multiple Google charts in a for loop, but can't seem to make it work. I have seen some similar questions being asked, but only with PHP. Anyone who can help? This is what I have tried so far https://jsfiddle.net/8nfbz1v1/ <ul id="draw-charts"></ul> google.charts.load('current', {'packages':['corechart']}); for(var i = 0; i>6; i+){ var charts = ""; google.charts.setOnLoadCallback(drawChart); function drawCharts() { charts += '<td><div id="chart_div' + i +'" style="border: