Skip to content

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

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)

Activity

  1. echarts-bot commented on Apr 30, 2021

    @echarts-bot

    Hi! We've received your issue and please be patient to get responded. 🎉
    The average response time is expected to be within one day for weekdays.

    In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

    A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

    You may also check out the API and chart option to get the answer.

    If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

    If you are interested in the project, you may also subscribe our mailing list.

    Have a nice day! 🍵

  2. added this to the 5.1.2 milestone on Apr 30, 2021
  3. added a commit that references this issue on May 13, 2021
    3f86f91
  4. added a commit that references this issue on May 13, 2021
    7e78f24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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