removed switch to create chart & replaced with

chart = new google.visualization[options.chartType](document.getElementById(chartID));