-
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
开启.style('gradient', 'color')之后slider拖动报错, 例子如下 #5230
Closed
1 task done
Comments
认领 |
定位到错误:当前x轴是point类型的比例尺,Slider拖动后比例尺中只保留当前范围的domain,但是数据中是全部的,所以在用全部数据做映射的时候,导致映射后的数组seriesX产生了NaN,然后在生成渐变色映射到0-100范围的时候,NaN就映射成了undefiend 计算seriesX: Lines 767 to 789 in aa09cc0
seriesX映射到0-100,并生成渐变色: Lines 144 to 171 in aa09cc0
|
@li1615882553 那可以把 NaN 过滤掉再生成渐变色吗? |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AntV Open Source Contribution Plan(可选)
Issue 类型
初级任务
任务介绍
以下代码在拖动 Slider 时候报错,期望修复这个问题。
参考说明
可能和 Slider 拖动的时候产生的 null 数据有关系
The text was updated successfully, but these errors were encountered: