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) {