我在RadarChart上有一个CategoryAxis,我想将背景设为不透明度= 0.5的浅灰色。
我该怎么办?
var categoryAxis = chart.yAxes.push(new am4charts.CategoryAxis());
categoryAxis.dataFields.category = "category";
categoryAxis.renderer.labels.template.fontSize = 15;
categoryAxis.renderer.labels.template.fontWeight = "bold";
categoryAxis.renderer.labels.template.horizontalCenter = "right";
categoryAxis.renderer.grid.template.location = 0;
categoryAxis.renderer.grid.template.strokeOpacity = 0.5;
categoryAxis.renderer.grid.template.opacity = 0.5;
categoryAxis.renderer.axisFills.template.disabled = true;
categoryAxis.mouseEnabled = false;