onMounted commented on issue #14198: URL: https://github.com/apache/echarts/issues/14198#issuecomment-3142065960
> > Hey, Had the same issue In Vue, I was setting my chart to **ref**. Setting it to **shallowRef** fixed it for me. > > `const chart = shallowRef<echarts.ECharts | undefined>()` `chart.value = echarts.init(chartContainerRef.value, undefined, { ... })` > > It is very useful to me, and using a regular variable can also solve this problem. This issue also applies to the error when using heatMap:Heatmap must use with visualMap -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org