apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.44k stars 19.61k forks source link

echart地图散点设置,symbolSize: 1,时会出现散点后逐渐消失,symbolSize: 0.5就正常了 #11439

Closed wangmiaoduan closed 2 years ago

wangmiaoduan commented 5 years ago

### echart地图散点设置,symbolSize: 1,时会出现散点后逐渐消失,symbolSize: 0.5就正常了

series: [
        {
            type: 'scatter',
            postEffect: {
                enable: true
            },
            progressive: 0,
            coordinateSystem: 'geo',
            blendMode: 'lighter',
            large: true,
            silent: true,
            dimensions: ['lng', 'lat'],
            data: data
            symbolSize: 1,
            /*symbolSize: function (val,params) {
                return val[2] * 1;
            },*/
            label: {
                normal: {
                    show: false
                },
                emphasis: {
                    show: false
                }
            },
            large: true,
            useWorker: true,
            steps: 2,
            itemStyle: {
                normal: {
                    shadowBlur: 10,
                    color: '#bad8ef',
                    shadowColor: '#258CF9'
                },
                emphasis: {
                    borderColor: '#fff',
                    borderWidth: 1
                }
            }
        }
    ]
pissang commented 5 years ago

你好,能否提供一个可以复现的例子

wangmiaoduan commented 5 years ago

progressive: 1e6,这个配置去掉就正常了

wangmiaoduan commented 5 years ago

series: [ { name: 'zbjsaas', type: 'scatter', coordinateSystem: 'geo', large: true, useWorker: true, steps: 2, silent: true, // symbolSize: 0.4, symbolSize: function(value,params) { return 0.4; }, data: new Float32Array(), label: { normal: { show: false }, emphasis: { show: false } }, itemStyle: { normal: { shadowBlur:10, color: '#bad8ef', shadowColor: '#258CF9' } } } ]

symbolSize: 0.4,// symbol显示正常 symbolSize: function(value,params) { return 0.4; },// symbol不显示

wangmiaoduan commented 5 years ago

echart.js 散点 大小太小时,散点阴影设置无效 请问这个怎么解决

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] commented 2 years ago

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!