态势感知平台-开源生态与贡献价值全景-基础设施覆盖率标注样式修改

This commit is contained in:
d266377
2026-01-30 12:45:00 +08:00
parent 7b59d3ac9c
commit 82005a43a3

View File

@@ -216,7 +216,12 @@ const initInfrastructureChart = () => {
} }
}, },
legend: { legend: {
data: infrastructureData.value.map(d => d.name), data: infrastructureData.value.map(d => ({
name: d.name,
itemStyle: {
color: d.color
}
})),
orient: 'vertical', orient: 'vertical',
right: '5%', right: '5%',
top: 'center', top: 'center',