Skip to content

Resizable chart error #19

@MathieuMoalic

Description

@MathieuMoalic
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
    ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions