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
时间: 2024-10-20 14:18:38