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
When series changes I get a TypeError if the length of series[0].data has changed
apexcharts.common.js:14 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'resetSeries')
at Proxy.value (apexcharts.common.js:14:41711)
at Object.deep (vue3-apexcharts.common.js:465:23)
at callWithErrorHandling (runtime-core.esm-bundler.js:173:22)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:182:21)
at job (runtime-core.esm-bundler.js:1812:17)
at flushPreFlushCbs (runtime-core.esm-bundler.js:336:13)
at updateComponentPreRender (runtime-core.esm-bundler.js:5789:9)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5702:21)
at ReactiveEffect.run (reactivity.esm-bundler.js:190:25)
at instance.update (runtime-core.esm-bundler.js:5763:56)
(that was Chrome; in Firefox the error message is TypeError: this.series is null)
Hitting a similar problem when both series and type change one after the other
I think the chart engine choke itself if it's still dealing with the previous change and a new update comes in
When
series
changes I get a TypeError if the length ofseries[0].data
has changed(that was Chrome; in Firefox the error message is
TypeError: this.series is null
)apexcharts.common.js
:However if I catch the error like this:
Everything works just fine.
For some reason I can't reproduce this in Vue SFC Playground
Version
The text was updated successfully, but these errors were encountered: