-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(interaction): legendFilter 无法复原x轴的数据 #5506 #5774
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
很棒!👍 下面有两点注意一下:
- 出现 undefined 的原因找到了吗?
- rebase 一下 v5,重装依赖,运行一些
npm run test
生成新的截图,并且看是否能通过测试。
__tests__/plots/interaction/temperatures-line-legend-filter-children-text.ts
Outdated
Show resolved
Hide resolved
|
更新了依赖了吗,报错截图发一个? |
看 Github CI环境是OK的 本地系统信息Linux version 6.2.0-34-generic (buildd@bos03-amd64-059) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1 Node版本 |
目前还是有 ts 问题吗?有几个测试报错了? |
@BENcorry 这个 PR 本身没有问题,线上 CI 也通过了,我先合并了。本地没有通过的测试可以继续在这个 PR 里面讨论一下,我们看看问题在哪。 |
|
@BENcorry 那太好了! |
Checklist
npm test
passesDescription of change
解决问题
legendFilter 无法复原 x 轴的数据 #5506
解决办法
过滤掉数据在处理过程中产生的undefined x轴数据
Demo
初始化
过滤后
恢复