3 回答

TA贡献1856条经验 获得超5个赞
您可以通过将这些道具添加到图表的比例规范中轻松做到这一点:
scale: {
gridLines: {
color: 'red'
},
angleLines: {
color: 'red'
}
},
视觉输出将是您要求的输出

TA贡献1155条经验 获得超0个赞
options: {
scales: {
r: {
max: 100,
min: 0,
ticks: {
stepSize: 20,
textStrokeColor: 'rgb(54, 162, 235)',
color: 'rgba(240, 240, 240, 0.5)',
backdropColor: 'rgb(47, 56, 62)'
},
angleLines: {
color: 'rgba(240, 240, 240,0.5)',
},
grid: {
color: "lightgreen",
},
},
},
添加回答
举报