I am willing to draw Google Chart with a variable in the constructor.
Example:
var chartType = 'BarChart';
var chartTypeToDraw = new google.visualization.chartType(document.getElementById('chart'));
Is there a way to draw it based on defined chartType variable?