You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type') at HeatmapView2.render (HeatmapView.js:137:18) #19060
Fix: add the same if (!coordSys) return; guard in render so a misconfigured/unresolved coordinate system is skipped gracefully (ECharts still logs its usual "coordinate system cannot be found" warning) instead of crashing. Added a regression test. PR incoming.
Activity
mmclofe commentedon Aug 31, 2023
这是代码截图
mmclofe commentedon Aug 31, 2023
基于nuxt3的框架
andyesfly commentedon Oct 11, 2024
问题解决了吗?
aloktomarr commentedon Jul 17, 2026
I would love to fix this issue.
Root cause: HeatmapView.render reads seriesModel.coordinateSystem.type
without checking that the coordinate system was resolved.
When a heatmap references a coordinate system whose component is missing (e.g. coordinateSystem: 'calendar'/
'bmap'not registered), coordinateSystem isundefined, so coordSys.type throws Cannot read properties of undefined (reading 'type') and the whole render aborts. Notably, incrementalRender already guards this with if (coordSys); render was missing the same check.Fix: add the same
if (!coordSys) return;guard in render so a misconfigured/unresolved coordinate system is skipped gracefully (ECharts still logs its usual "coordinate system cannot be found" warning) instead of crashing. Added a regression test. PR incoming.fix(heatmap): skip render when the coordinate system is missing inste…