Skip to content

lazyUpdate: true doesn't work well with resize #14846

@Justineo

Description

@Justineo

Version

5.1.1

Reproduction link

https://codepen.io/Justineo/pen/OJWYYzp

Steps to reproduce

chart.setOption(option, { lazyUpdate: true });
chart.resize();

What is expected?

Just works.

What is actually happening?

Uncaught TypeError: Cannot read property 'get' of undefined
    at t.getPipeline (echarts.min.js:45)
    at _f (echarts.min.js:45)
    at e.setData (echarts.min.js:45)
    at t.gf [as _reset] (echarts.min.js:45)
    at t._doReset (echarts.min.js:45)
    at t.perform (echarts.min.js:45)
    at echarts.min.js:45
    at e.<anonymous> (echarts.min.js:45)
    at Array.forEach (<anonymous>)
    at P (echarts.min.js:35)

Metadata

Metadata

Assignees

Labels

bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions