I have a following code:
google.charts.setOnLoadCallback( drawChart ); function drawChart() { ... }
I need to pass a parameter called chartID i
one way is to add another function...
google.charts.setOnLoadCallback(function () { drawChart(chartID); }); function drawChart(chartID) { ... }