0
我想使用谷歌地图的强度,发现了这个,https://developers.google.com/chart/interactive/docs/gallery/intensitymap#Configuration_Options在哪里设置配置选项,谷歌visulization
但我想不出我应该设置这些选项(JavaScript代码)在哪里。我试过chart.height = 200
,这是行不通的。
我想使用谷歌地图的强度,发现了这个,https://developers.google.com/chart/interactive/docs/gallery/intensitymap#Configuration_Options在哪里设置配置选项,谷歌visulization
但我想不出我应该设置这些选项(JavaScript代码)在哪里。我试过chart.height = 200
,这是行不通的。
在这里找到:https://google-developers.appspot.com/chart/interactive/docs/quick_start
的IntensityMap.draw
第二个参数是选项。
var options = {height: 200};
chart.draw(data, options);
会做。