apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
62.81k stars 13.87k forks source link

[DECK.GL MULTIPLE LAYERS] Categorical color from scatterplot not used #20459

Open audelorAd opened 2 years ago

audelorAd commented 2 years ago

In a deck.gl multiple layers I use a deck.gl scatterplot with 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 chart
  2. Put something in "Point Color > Categorical Color" parameter
  3. Save chart
  4. Create a deck.gl Multple Layers chart
  5. Add previously created deck.gl scatterplot
  6. Run and see point color

Actual results

2022-06-21_17h57_08

Expected results

Same color as the configured one in deck.gl scatterplot

2022-06-21_17h58_22

Environment

(please complete the following information):

Checklist

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

MrTrakez commented 2 years ago

Have you found a solution yet? I have the same problem!

cphilibien commented 1 year ago

I have the same issue. There are a solution?

AyupMike commented 1 year ago

+1

rusackas commented 8 months ago

Still an issue in Superset 3.x... but not a high priority issue. Anyone want to take a crack at opening a PR?

rusackas commented 8 months ago

The above linked issue was closed as a duplicate, but has more context for anyone who wants to tackle this.

rusackas commented 3 months ago

I wonder if our resident DeckGL guru @Mattc1221 would like to take a look here.