echarts icon indicating copy to clipboard operation
echarts copied to clipboard

3D scatter plot legend does not pick the right colors from the data points

Open chudur-budur opened this issue 5 years ago • 3 comments

Version

4.9.0

Reproduction link

https://jsfiddle.net/ramgorur/zmdhpcwL/latest/

Steps to reproduce

Please go to the JSFiddle link and run the code. No setup necessary.

What is expected?

The legend buttons should pick the correct colors from the data point.

What is actually happening?

The legend does not pick the colors from the data and assigns arbitrary colors on its own.

For example, in the plot below, the sample1 legend should have a gradient of green and the sample2 should have red. But they are not --


Not sure if it's a bug, may be I'm not doing it in a correct way.

chudur-budur avatar Sep 11 '20 09:09 chudur-budur

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 you have posted enough image to demo your request. 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 [email protected]. Please attach the issue link if it's a technical questions.

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

Have a nice day! 🍵

echarts-bot[bot] avatar Sep 11 '20 09:09 echarts-bot[bot]

bump?

chudur-budur avatar Sep 17 '20 10:09 chudur-budur

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Sep 19 '22 21:09 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Sep 27 '22 21:09 github-actions[bot]

I believe this is still an issue in current versions. When trying to assign a color to each point of the 3d scatterplot the values get shuffled somehow.

pjimenezmateo avatar Jan 24 '23 17:01 pjimenezmateo

I'm having the same issue on a bar3d chart. The initial chart is fine, but after switching variables some bars that have similar height have totally different colors. They get the proper color after a mouse-over.

I built my visualization after this example: https://echarts.apache.org/examples/en/editor.html?c=bar3d-dataset&gl=1

hfp-robloh avatar Mar 18 '24 09:03 hfp-robloh