apache / apache/echarts

折线图使用visualMap时颜色错乱,颜色错位

Open
#14,583 15 comments 0 reactions 0 assignees View on GitHub
bug topic: visualMap waiting-for: community
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.0.2

### Steps to reproduce
可以在这里直接看到能重现的代码和效果:
https://www.makeapie.com/editor.html?c=xXlsvJWYJK&v=1

### What is expected?
我使用visualMap的pieces,希望折线图分段显示红色和绿色,

### What is actually happening?
在折现拐弯的地方,颜色会错乱,红色的折线两端会有一部分绿色,绿的折线两端会有一部分红色

---
在chrome浏览器访问时会发生这种情况,如果chrome中设置关闭硬件加速,则可以正常显示。
可以在这里直接看到效果:
https://www.makeapie.com/editor.html?c=xXlsvJWYJK&v=1
从v4到v5所有版本都有这个问题
![image](https://user-images.githubusercontent.com/25482706/113403326-05d58e00-93d9-11eb-90e3-8fcbf4d668d0.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.