0
我想改變控件的高度,但它不會工作。谷歌圖表控制器
這是我試過到目前爲止:
var control = new google.visualization.ControlWrapper({
controlType: 'ChartRangeFilter',
containerId: 'control_div',
height: 55, //placing it here is not working
options: {
filterColumnIndex: 0,
height: 55, //neither does it here
ui: {
labelStacking: 'vertical',
chartType: 'LineChart',
snapToData: true,
height: 55, //or here
},
}
});
這有什麼錯我的代碼?
[此答案](http://stackoverflow.com/a/38573743圖表/ 5090771)包括一個工作示例... – WhiteHat
感謝您的偉大答案,它現在似乎工作 – TheDoctor