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] 当使用svg渲染,折线图使用渐变色时,series中data数据都相同时折现无法显示 #20127

Closed
renqiankun opened this issue Jul 8, 2024 · 4 comments

Comments

@renqiankun
Copy link

Version

5.5.1

Link to Minimal Reproduction

https://codepen.io/renqiankun/pen/zYVYzXN

Steps to Reproduce

1当使用svg渲染,2折线图使用渐变色时,3 series中data数据都相同

Current Behavior

折现图无法显示

Expected Behavior

同canvas渲染可以展示折现

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@renqiankun renqiankun added the bug label Jul 8, 2024
@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Jul 8, 2024
@echarts-bot echarts-bot bot changed the title 当使用svg渲染,折线图使用渐变色时,series中data数据都相同时折现无法显示[Bug] [Bug] 当使用svg渲染,折线图使用渐变色时,series中data数据都相同时折现无法显示 Jul 8, 2024
Copy link

echarts-bot bot commented Jul 8, 2024

@renqiankun 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] When using SVG rendering and line chart using gradient color, the data data in the series cannot be displayed when the data data are the same

BODY

Version

5.5.1

Link to Minimal Reproduction

https://codepen.io/renqiankun/pen/zYVYzXN

Steps to Reproduce

  1. When svg is used for rendering and 2. when the line chart uses gradient color, the data data in 3 series are the same.

Current Behavior

Discount chart cannot be displayed

Expected Behavior

Discounts can be displayed with canvas rendering

Environment

- OS:
-Browser:
- Framework:

Any additional comments?

No response

@renqiankun
Copy link
Author

Expect SVG to also display

@plainheart
Copy link
Member

plainheart commented Jul 8, 2024

Duplicate of #15467, #19726

@plainheart plainheart marked this as a duplicate of #15467 Jul 8, 2024
@echarts-bot echarts-bot bot added the duplicate label Jul 8, 2024
@echarts-bot echarts-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
@plainheart plainheart added the SVG label Jul 8, 2024
@plainheart
Copy link
Member

之前已经研究过这个问题,后面我会再跟进下。

@plainheart plainheart removed the pending We are not sure about whether this is a bug/new feature. label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants