Html 谷歌折线图中图例图标宽度的变化
我在这个地方用过谷歌图表Html 谷歌折线图中图例图标宽度的变化,html,css,google-visualization,Html,Css,Google Visualization,我在这个地方用过谷歌图表 https://developers.google.com/chart/interactive/docs/gallery/linechart#Example 是否有可能更改图例图标的宽度和高度,即蓝色和红色矩形。如文档所示: legend: {position: 'top', textStyle: {color: 'blue', fontSize: 16}} legend.textStyle: {color: <string>, fontName: &l
https://developers.google.com/chart/interactive/docs/gallery/linechart#Example
是否有可能更改图例图标的宽度和高度,即蓝色和红色矩形。如文档所示:
legend: {position: 'top', textStyle: {color: 'blue', fontSize: 16}}
legend.textStyle: {color: <string>, fontName: <string>, fontSize: <number>}
图例:{位置:'top',文本样式:{颜色:'blue',字体大小:16}
legend.textStyle:{color:,fontName:,fontSize:}
这就是你要找的吗?我只需要缩小正方形的大小,而不是字体大小。有可能吗?