liuyg
2021-07-16 582bd81b48813e191d12d94bdf745fa7506f0747
Merge branch 'master' of http://192.168.0.105:10010/r/jfptweb-publicSecurity
1 files modified
62 ■■■■ changed files
src/views/wel/home.vue 62 ●●●● patch | view | raw | blame | history
src/views/wel/home.vue
@@ -726,37 +726,37 @@
                                data: mapData
                            },
                            //地图中闪烁的点
                            // {
                            //     //  name: 'Top 5',
                            //     type: 'effectScatter',
                            //     coordinateSystem: 'geo',
                            //     data: convertData(mapData[n].sort(function (a, b) {
                            //         return b.value - a.value;
                            //     }).slice(0, 20)),
                            //     symbolSize: function (val) {
                            //         return val[2] / 10;
                            //     },
                            //     showEffectOn: 'render',
                            //     rippleEffect: {
                            //         brushType: 'stroke'
                            //     },
                            //     hoverAnimation: true,
                            //     label: {
                            //         normal: {
                            //             formatter: '{b}',
                            //             position: 'right',
                            //             show: true
                            //         }
                            //     },
                            //     itemStyle: {
                            //         normal: {
                            //             color: colors[colorIndex][n],
                            //             shadowBlur: 10,
                            //             shadowColor: colors[colorIndex][n]
                            //         }
                            //     },
                            //     zlevel: 1
                            // },
                            {
                                //  name: 'Top 5',
                                type: 'effectScatter',
                                coordinateSystem: 'geo',
                                data: convertData(mapData[n].sort(function (a, b) {
                                    return b.value - a.value;
                                }).slice(0, 20)),
                                symbolSize: function (val) {
                                    return val[2] / 10;
                                },
                                showEffectOn: 'render',
                                rippleEffect: {
                                    brushType: 'stroke'
                                },
                                hoverAnimation: true,
                                label: {
                                    normal: {
                                        formatter: '{b}',
                                        position: 'right',
                                        show: false
                                    }
                                },
                                itemStyle: {
                                    normal: {
                                        color: colors[colorIndex][n],
                                        shadowBlur: 10,
                                        shadowColor: colors[colorIndex][n]
                                    }
                                },
                                zlevel: 1
                            },
                            //柱状图
                            {
                                zlevel: 1.5,