echarts 折线图使用visualMap时,颜色错乱,图元颜色改变,线段颜色错误

u5i3ibmn  于 2022-10-22  发布在  Echarts
关注(0)|答案(8)|浏览(745)

Version

5.2.0

https://www.makeapie.com/editor.html?c=xp95UAbrfA&v=2

Steps to reproduce

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

What is expected?

我使用visualMap的pieces,希望折线图分段显示红色1,红色2,红色3,和蓝色

What is actually happening?

折线图颜色会错乱,红色的折线只有图元显示红色,折线会显示蓝色

https://www.makeapie.com/editor.html?c=xp95UAbrfA&v=2

tf7tbtn2

tf7tbtn21#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it containsa minimum reproducible demoand necessaryimagesto illustrate. Otherwise, our committers will ask you to do so.

  • A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe to our mailing list .

Have a nice day! 🍵

eoigrqb6

eoigrqb62#

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

TRANSLATED

TITLE

When using visualMap, the line chart is miscoloned, the meta-color changes, and the segment color is incorrect

BODY

Version

5.2.0

https://www.makeapie.com/editor.html?c=xp95UAbrfA&v=2

Steps to reproduce

You can directly see the reproducible code and effect here:
https://www.makeapie.com/editor.html?c=xp95UAbrfA&v=2

What is expected?

I use visualMap's pieces, and I want the line graph to display red 1, red 2, red 3, and blue in segments

What is actually happening?

The color of the line chart will be messy, the red line will only display red for the primitives, and the line will display blue

https://www.makeapie.com/editor.html?c=xp95UAbrfA&v=2

bqucvtff

bqucvtff3#

The color of the line chart will be messy. Only the symbol of the red line will be displayed in red, and the line will be displayed in blue.

6pp0gazn

6pp0gazn4#

Please refer to this example . If you still have questions, please minify your demo with minimum data.

ccgok5k5

ccgok5k55#

Please refer to this example . If you still have questions, please minify your demo with minimum data.

minimum data is not a problem, but a large amount of data will have this problem.

yptwkmov

yptwkmov6#

Then you should debug to see the exact data to reproduce this problem. Otherwise, it's impossible to learn what's going on here.

kx7yvsdv

kx7yvsdv7#

看看我反馈的问题,是不是和你的问题一样 #15787

iugsix8n

iugsix8n8#

visualMap 颜色错位的问题 V4 就开始提了,确实大数据量的时候很容易出现,有空关注一下。

相关问题