echarts icon indicating copy to clipboard operation
echarts copied to clipboard

echars map标注markpoint symbol:'emptyCircle',空心圆的表现是白底,而且没有动画效果

Open chm74 opened this issue 10 years ago • 2 comments

问题简述 (One-line summary)

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):
  • 浏览器类型和版本 (Browser version):
  • 操作系统类型和版本 (OS Version):

重现步骤 (Steps to reproduce)

期望结果 (Expected behaviour)

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {
    title: {
        text: 'World Population (2010)',
        subtext: 'from United Nations, Total population, both sexes combined, as of 1 July (thousands)',
        sublink: 'http://esa.un.org/wpp/Excel-Data/population.htm',
        left: 'center',
        top: 'top'
    },
    tooltip: {
        trigger: 'item',
        formatter: function (params) {
            var value = (params.value + '').split('.');
            value = value[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, '$1,')
                    + '.' + value[1];
            return params.seriesName + '<br/>' + params.name + ' : ' + value;
        }
    },
    toolbox: {
        show: true,
        orient: 'vertical',
        left: 'right',
        top: 'center',
        feature: {
            dataView: {readOnly: false},
            restore: {},
            saveAsImage: {}
        }
    },
    visualMap: {
        min: 0,
        max: 1000000,
        text:['High','Low'],
        realtime: false,
        calculable: true,
        color: ['orangered','yellow','lightskyblue']
    },
    series: [
        {
            name: 'World Population (2010)',
            type: 'map',
            mapType: 'world',
            roam: true,
            itemStyle:{
                emphasis:{label:{show:true}}
            },
            data:[
                {name: 'Honduras', value: 7621.204},
                {name: 'China', value: 1644338.027}

            ],
            markPoint : {
                symbol:'emptyCircle',
                symbolSize : 15,
                effect : {
                    show: true,
                    shadowBlur : 0
                },
                itemStyle:{
                    normal:{
                        label:{show:false}
                    }
                },
                data:[
                {name: "上海",coord: [121.48, 31.22]},
                {name: "合肥", coord: [117.27,31.86]},
                {name: "武汉", coord: [114.31,30.52]},
                {name: "大庆", coord: [125.03,46.58]}
            ],
            }
        }
    ]
};

其他信息 (Other comments)

chm74 avatar Apr 28 '16 03:04 chm74

参考 http://echarts.baidu.com/gallery/editor.html?c=effectScatter-map

pissang avatar Apr 28 '16 05:04 pissang

这个无法实现,我想要效果,他目前只支持涟漪,我想要的是echart2上的空心圆的那个效果:参考:http://echarts.baidu.com/echarts2/doc/example/map9.html。。怎么办呢,

chm74 avatar Apr 28 '16 05:04 chm74