diff --git a/src/components/site/previewOfSiteStatus.vue b/src/components/site/previewOfSiteStatus.vue index cf2821b..36ae15f 100644 --- a/src/components/site/previewOfSiteStatus.vue +++ b/src/components/site/previewOfSiteStatus.vue @@ -649,6 +649,7 @@ // 绘制图表 this.myChart.clear(); this.myChart.setOption({ + color:['red'], tooltip: { trigger: "axis" }, @@ -661,7 +662,13 @@ { indicator: SheBeiLeiXing, radius: 70, - shape: "circle" + shape: "circle", + name: { + formatter: '【{value}】', + textStyle: { + color: 'red' + } + } } ], series: [