我从这个位置使用了谷歌图表
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>}
这是您要找的吗?
关于html - 谷歌折线图中的图例图标宽度变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12004498/