Skip to content

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

@dignfei

Description

@dignfei

Version

5.2.0

Steps to reproduce

可以在这里直接看到能重现的代码和效果:
https://www.makeapie.com/editor.html?c=xbePg5FU6G&v=9
版本https://github.com/apache/echarts/tree/release-dev 修复了这个bug。
但是到了 5.2.0版本这个bug 又出现了。

What is expected?

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

What is actually happening?

在折线拐弯的地方,颜色会错乱,红色的折线两端会有一部分绿色,绿的折线两端会有一部分红色


在chrome浏览器访问时会发生这种情况,如果chrome中设置关闭硬件加速,则可以正常显示。
可以在这里直接看到效果
https://www.makeapie.com/editor.html?c=xbePg5FU6G&v=9
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions