我需要围绕图表区域而不是整个图表的边框。我找不到要设置的属性。这在Google Visualization API中。
适当的选项未记录。您需要设置chartArea.backgroundColor.stroke
和chartArea.backgroundColor.strokeWidth
选项。该stroke
选项控制边框的颜色,并采用任何有效的HTML颜色字符串。该strokeWidth
选项控制边框的宽度,并以整数表示宽度(以像素为单位):
chartArea: {
backgroundColor: {
stroke: '#4322c0',
strokeWidth: 3
}
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句