superset icon indicating copy to clipboard operation
superset copied to clipboard

[DECK.GL SCATTERPLOT] Wrong legend color

Open audelorAd opened this issue 3 years ago • 2 comments

On a deck.gl scatterplot I have a categorical color for the point color. It's working fine except that the categories color in legend is not the same as the point on the map.

How to reproduce the bug

  1. Create a deck.gl scatterplot dataviz
  2. Put something in "Point Color > Categorical Color" parameter
  3. Run to see result

Actual results

2022-06-21_17h45_02

Expected results

Same color on the map and in the legend.

Environment

(please complete the following information):

  • browser type and version: Firefox 91.10 esr
  • superset version: 1.5.0

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • [X] I have reproduced the issue with at least the latest released version of superset.
  • [X] I have checked the issue tracker for the same issue and I haven't found one similar.

audelorAd avatar Jun 21 '22 15:06 audelorAd

Maybe there are multiple points with the same location in your dataset and they have different category? (visualization of overlapping points should be handled differently)

dkrat7 avatar Nov 17 '22 20:11 dkrat7

Maybe there are multiple points with the same location in your dataset and they have different category? (visualization of overlapping points should be handled differently)

I checked, there is no overlapping points.

audelorAd avatar Nov 24 '22 16:11 audelorAd

I have the same issue.

2022-11-30_16-07

cphilibien avatar Nov 30 '22 21:11 cphilibien

Working as Expected.In latest release of superset version 2.1.0. ,It is working fine. Screenshots:- image image loom video:- https://www.loom.com/share/59a4a12898e94fc7b5156bb8d130926b

ShaliniIruvuru avatar Apr 11 '23 07:04 ShaliniIruvuru

Agreed, seems fixed! Closing :D

rusackas avatar Feb 26 '24 22:02 rusackas