Google Charts: How to pass a parameter into a callback (JavaScript)?

Viewed 662

I have a following code:

google.charts.setOnLoadCallback( drawChart );
function drawChart() { ... }

I need to pass a parameter called chartID into a drawChart() function. How can I do it? Seems google chart doesn't want to get any params :) Any ideas?

1 Answers
Related