问题描述
更改 polararea 图表中圆弧的宽度不起作用。所有其他选项都做得很好。我错过了什么? 下面我有代码。
var chartOptions = {
scale: {
ticks: {
beginAtZero: true,min: 0,max: 10,stepSize: 2
},pointLabels: {
fontSize: 16
},},arc: {
borderWidth: 4,borderColor: "green"
},};
解决方法
您必须像这样将圆弧对象放在元素部分:
{'Cat,Dog': [0,3,8,1,4,9,11],'Mouse,Cat': [2,5,10,6,'Pigeon,Living': [7,11]}
,
我找到了答案。
scale: {
lineWidth: 1,color: "#000000"
}
}