You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "jianhua1996 (via GitHub)" <gi...@apache.org> on 2024/11/04 11:07:05 UTC
Re: [I] echart.resize LineView seriesModel.coordinateSystem undefined [echarts]
jianhua1996 commented on issue #14198:
URL: https://github.com/apache/echarts/issues/14198#issuecomment-2454424144
> 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 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-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org