echarts notMerge didn't work when option changed

sirbozc5  于 2022-11-05  发布在  Echarts
关注(0)|答案(2)|浏览(245)

Version

5.0.2

Steps to reproduce

I have used echarts by 'echarts-for-react'( https://github.com/hustcc/echarts-for-react ) in my code, and react hooks to update states. When the data changed, it will auto changed the option ,and I have set param notMerge = true for not merging old lines when data updated.

But when I changed the data, it still kept both lines including older & newer in one chart.

What is expected?

Update chart with new line not merging with old one when i set notMerge = true

What is actually happening?

it will show both lines using merging mode

w8biq8rn

w8biq8rn1#

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 thatyou have posted enough image to demo your request. 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! 🍵

相关问题