This sample is to show how to apply the theme to the chart.
setTheme() must run before setLayout() and setData()

ā—¸Script
document.getElementById(id).setTheme("pastel");
document.getElementById(id).setLayout(layoutStr);
document.getElementById(id).setData(chartData);