Skip to content
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

[Bug] 解惑,由于pieces设置的值和数据一样,导致会出现多一条重叠线,新版和旧版都会这样存在,能告知原因,提供下解决方案吗 #19057

Open
jimGJW opened this issue Aug 30, 2023 · 3 comments
Labels
bug pending We are not sure about whether this is a bug/new feature.

Comments

@jimGJW
Copy link

jimGJW commented Aug 30, 2023

Version

新旧版都存在

Link to Minimal Reproduction

https://codepen.io/jimgjw/pen/WNLwERg

Steps to Reproduce

旧版
新版

Current Behavior

测试中遇到

Expected Behavior

规则线去除

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@jimGJW jimGJW added the bug label Aug 30, 2023
@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Aug 30, 2023
@echarts-bot
Copy link

echarts-bot bot commented Aug 30, 2023

@jimGJW It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] To solve the confusion, because the value set by pieces is the same as the data, there will be an extra overlapping line, both the new version and the old version will exist like this, can you tell the reason and provide the next solution?

BODY

Version

Both old and new versions exist

Link to Minimal Reproduction

https://codepen.io/jimgjw/pen/WNLwERg

Steps to Reproduce

Legacy
New Version

Current Behavior

Encountered in testing

Expected Behavior

Regular line removal

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@helgasoft
Copy link

helgasoft commented Aug 30, 2023

duplicate of #18268, #18948 and others ... first reported in 2017 in #5801
Related to series.type:'line', type:'bar' works fine.

@Ovilia
Copy link
Contributor

Ovilia commented Oct 10, 2023

@helgasoft Thanks for the help. This issue seems to be a different one with #18268 and #18948 because this one is about the blurring of the junction area and the others are when there is only one inRange. I tried to fix this issue but failed to do so. As discussed in #15711, this problem is caused because we use gradient to implement visualMap pieces. If someone is interested in fixing it, the related logic is in LineView.ts#getVisualGradient and PiecewiseModel.ts#getVisualMeta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

3 participants