The size of the scatter circle in echarts cannot be set.

clipboard.png

the code is as follows

series: [{
    name: "",
    type: "scatter",
    coordinateSystem: "geo", //
    data: mapData,
    symbolSize: function(val) { //
        return parseInt(val[2]/10);
    },
    label: {
        normal: {
            formatter: "{b}",
            position: "right",
            show: true //
        },
        emphasis: {
            show: true //
        }
    },
    itemStyle: { //
        normal: {
            color: "-sharpddb926"
        }
    }
}
Mar.05,2021
Menu