From fa3596eda91fb7389e494e76af06cb9dd7ddd7d7 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 6 Jul 2021 15:58:24 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=20chart=20-=20pie-table=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=B3=E4=B8=8A=E8=A7=92=E7=9A=84=E4=B8=8B?= =?UTF-8?q?=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/charts/Chart.vue | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/charts/Chart.vue b/src/views/charts/Chart.vue index 2fd10ed8..b39ad127 100644 --- a/src/views/charts/Chart.vue +++ b/src/views/charts/Chart.vue @@ -42,7 +42,21 @@ :style="computePosition" :chartInfo="chartInfo" > - + @@ -394,11 +408,11 @@ export default { polygonSeries.useGeodata = true polygonSeries.exclude = ['AQ'] // 排除南极洲 // 鼠标悬停提示 - /*const polygonTemplate = polygonSeries.mapPolygons.template + /* const polygonTemplate = polygonSeries.mapPolygons.template polygonTemplate.tooltipText = '{name}' polygonTemplate.fontSize = '12px' const hs = polygonTemplate.states.create('hover') - hs.properties.fill = am4Core.color('#ccc')*/ + hs.properties.fill = am4Core.color('#ccc') */ return chart }, pageJump (val) {