Version
5.4.3
Link to Minimal Reproduction
<script lang="ts" setup> // import VChart from 'vue-echarts'; import 'echarts/lib/chart/heatmap' import 'echarts/lib/component/calendar' // const option = ref({ // animation: false, // bmap: { // center: [120.13066322374, 30.240018034923], // zoom: 14, // roam: true // }, // visualMap: { // show: false, // top: 'top', // min: 0, // max: 5, // seriesIndex: 0, // calculable: true, // inRange: { // color: ['blue', 'blue', 'green', 'yellow', 'red'] // } // }, // series: [ // { // type: 'heatmap', // coordinateSystem: 'calendar', // data: [], // pointSize: 5, // blurSize: 6 // } // ] // }); // type HotMapDataModel = { // lng:number; // count:number; // lat:number; // } // const props = defineProps<{ // hotMapData:HotMapDataModel[] // }>() const { $eChart } = useNuxtApp() const hotMapRef = ref() const initHotMap = () => { // 添加百度地图插件 const myChart = $eChart.init(hotMapRef.value) myChart.setOption({ animation: false, bmap: { center: [120.13066322374, 30.240018034923], zoom: 14, roam: true }, visualMap: { show: false, top: 'top', min: 0, max: 5, seriesIndex: 0, calculable: true, inRange: { color: ['blue', 'blue', 'green', 'yellow', 'red'] } }, series: [ { type: 'heatmap', coordinateSystem: 'calendar', data: [], pointSize: 5, blurSize: 6 } ] }) let bmap = (myChart as any).getModel().getComponent('bmap').getBMap(); bmap.addControl(new BMap.MapTypeControl()); } onMounted(() => { initHotMap() }) </script> <style lang="scss" scoped> </style>
Steps to Reproduce
1、当使用热力图时,无论coordinateSystem配置“calendar”还是‘bmap’都会导致这个问题
Current Behavior


Expected Behavior
使用热力图正确
Environment
- OS:windows
- Browser:chorme
- Framework:
Any additional comments?
No response
Version
5.4.3
Link to Minimal Reproduction
Steps to Reproduce
1、当使用热力图时,无论coordinateSystem配置“calendar”还是‘bmap’都会导致这个问题
Current Behavior
Expected Behavior
使用热力图正确
Environment
Any additional comments?
No response