From 4265f6defbf1095fd2c3b8b5896bcba6a17a5eef Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 23 Jul 2021 11:39:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=A1=A5=E5=85=85=E9=A5=BC?= =?UTF-8?q?=E5=9B=BE=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/charts/Chart.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/charts/Chart.vue b/src/views/charts/Chart.vue index 159a533c..ef2aeb56 100644 --- a/src/views/charts/Chart.vue +++ b/src/views/charts/Chart.vue @@ -215,6 +215,7 @@ export default { statisticsData: [], orderPieTable: chartPieTableTopOptions[0].value, selectPieChartName: '', + allSelectPieChartName: [], chartOption: null } }, @@ -509,6 +510,7 @@ export default { unitType: unitType } }) + this.allSelectPieChartName = tableQueryParams[chartParams.nameColumn] this.chartOption.series[0].data = data if (this.chartOption.series[0].data && this.chartOption.series[0].data.length > 10) { // pieWithTable 图例超过10个改为滚动显示 this.chartOption.legend.type = 'scroll'