Fhawk189 opened a new issue #10363: echarts.js与echarts.mmin.js更换后异常的问题
URL: https://github.com/apache/incubator-echarts/issues/10363
 
 
   下边是我的option,我想实现这种效果:http://www.17sucai.com/pins/demo-show?id=19607
   然后demo用的是echarts.js,我项目中使用的echarts.min.js,结果样子长这个样子:
   
![图片](https://user-images.githubusercontent.com/33713286/56731565-596ee400-678d-11e9-8191-d2431f3087af.png)
   请问我该怎么解决
   
   option = {
                                title: {
                                        text: ''
                                },
                                tooltip: {
                                        trigger: 'item',
                                        formatter:'{b}'
                                },
                                legend: {
                                        show: true,
                                },
                                series: [{
                                        type: 'map',
                                        map: '郑州',
                                        roam: true,
                                        hoverable: false,
                                        zoom: 1.24, //设置缩放比例
                                        scaleLimit: {
                                                min: 1,
                                                max: 3
                                        }, //滚轮放大缩小的极限
                                        //center:[114.026063,34.022956],//地图中心点
                                        itemStyle: {
                                                //normal 是图形在默认状态下的样式;
                                                normal: {
                                                        show: false,
                               areaColor: "rgba(1,70,49,0.4)",
                                                        borderColor: "#abae81",
                                                        borderWidth: 1.4,
                               shadowColor: '#56b67b',
                               shadowBlur: 100,
                                                },
                                                //emphasis 
是图形在高亮状态下的样式,比如在鼠标悬浮或者图例联动高亮时。
                                                //地图鼠标悬浮事件
                                                emphasis: {
                                                    show: false,
                                                        areaColor: "#01764c"
                                                }
                                        },
                                        showLegendSymbol: false,
                                        label: {
                                                normal: {
                                                        show: true,
                                                        textStyle: {
                                                                color: '#fff',
                                                                fontSize: 10,
                                                                fontWeight: 
'bold'
                                                        }
                                                },
                                                emphasis: {
                                                        show: false,
                                                        textStyle: {
                                                                color: "#000"
                                                        }
                                                }
                                        },
                       data:[
                           // {name: '登封', id: 410185, value: 410185},
                           // {name: '二七', id: 410103, value: 410103},
                           // {name: '巩义', id: 410181, value: 410181},
                           // {name: '管城', id: 410104, value: 410104},
                           // {name: '惠济', id: 410108, value: 410108},
                           // {name: '金水', id: 410105, value: 410105},
                           // {name: '上街', id: 410106, value: 410106},
                           // {name: '新密', id: 410183, value: 410183},
                           // {name: '新郑', id: 410184, value: 410184},
                           // {name: '中牟', id: 410122, value: 410122},
                           // {name: '中原', id: 410102, value: 410102},
                           // {name: '荥阳', id: 410182, value: 410182},
                       ],
                                        markPoint:{
                                            symbol:'emptyCircle',
                                                animation:true,
                           symbolSize : function (v){
                               return 10 + v/10
                           },
                           effect : {
                               show: true,
                               shadowBlur : 0
                           },
                                                data:[
                                                        {name:'登封', 
coord:[113.05011,34.47368], value:50},
                               {name:'二七', coord:[113.6401,34.69468], value:30},
                               {name:'巩义', coord:[113.02237,34.74804], 
value:90},
                               {name:'管城', coord:[113.70739, 34.70381], 
value:90},
                               {name:'惠济', coord:[113.61694, 34.86739], 
value:90},
                               {name:'金水', coord:[113.68072, 34.79977], 
value:90},
                               {name:'上街', coord:[113.30892, 34.8028], 
value:90},
                               {name:'新密', coord:[113.390865, 34.539781], 
value:90},
                               {name:'中牟', coord:[113.97575, 34.72041], 
value:90},
                               {name:'中原', coord:[113.58332, 34.74821], 
value:90},
                               {name:'荥阳', coord:[113.41053, 34.74076], 
value:90},
                               {name:'新郑', coord:[113.740529, 34.395562], 
value:90}
                                                ],
                                        }
                                }],
                                dataRange: {
                       min : 0,
                       max : 100,
                       calculable : true,
                       color: ['#ff3333', 'orange', 'yellow','lime','aqua'],
                       textStyle:{
                           color:'#fff'
                       },
                                    // x: '-1000px',
                                        // y: '-1000.px',
                                        show:false,
                                        // splitList: signList
                                }
                        };

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to