echarts 如何设置热力图点的大小

series: [{
        name: 'AQI',
        type: 'heatmap',
        coordinateSystem: 'geo',
        blurSize: 10,
        pointSize: 10, // 设置热力图上点的大小
        symbolSize: 200,
        itemStyle: {
            normal: {
                width: 2,
                color: 'skyblue'
            }
        },
        data: convertData([
            {name: "海门", value: 100},
            {name: "鄂尔多斯", value: 112},
            {name: "招远", value: 112},
            {name: "廊坊", value: 193},
            {name: "菏泽", value: 194},
            {name: "合肥", value: 229},
            {name: "武汉", value: 273},
            {name: "大庆", value: 279}
        ])
    }]


pointSize
这个属性在echarts 官方文档上并没有找到,但是源码中的确有pointSize的选项
echart 实例地址
https://gallery.echartsjs.com/editor.html?c=x8IJn-BkTO

转载于:https://www.cnblogs.com/MainActivity/p/11365580.html

你可能感兴趣的:(echarts 如何设置热力图点的大小)