Uncaught TypeError: chart is undefined
resizeECharts plot-scalar-field.ts:254
resizeECharts plot-scalar-field.ts:253
instance Preview.svelte:10
run utils.js:41
mount_component Component.js:47
flush scheduler.js:99
init Component.js:164
Root root.svelte:708
createProxiedComponent svelte-hooks.js:341
ProxyComponent proxy.js:242
Proxy<Root> proxy.js:349
initialize client.js:434
navigate client.js:1410
_goto client.js:367
goto client.js:1732
start client.js:295
<anonymous> (index):37
promise callback* (index):36
84 [plot-scalar-field.ts:254:8](http://localhost:5173/src/lib/preview/plot-scalar-field.ts)
resizeECharts plot-scalar-field.ts:254
(Async: EventListener.handleEvent)
resizeECharts plot-scalar-field.ts:253
instance Preview.svelte:10
run utils.js:41
map self-hosted:178
mount_component Component.js:47
flush scheduler.js:99
init Component.js:164
Root root.svelte:708
createProxiedComponent svelte-hooks.js:341
ProxyComponent proxy.js:242
Proxy<Root> proxy.js:349
initialize client.js:434
navigate client.js:1410
InterpretGeneratorResume self-hosted:1417
AsyncFunctionNext self-hosted:804
(Async: async)
_goto client.js:367
goto client.js:1732
start client.js:295
<anonymous> (index):37
(Async: promise callback)
<anonymous> (index):36
```