superset icon indicating copy to clipboard operation
superset copied to clipboard

Different colours for the same metrics

Open ivanovpavel1983 opened this issue 1 year ago • 6 comments

When I refresh page with dashboard in browser, I can see different colours for the same metrics

  • helm chart version: 0.10.8
  • superset version: 3.0.0
  • python version: 3.10

There is no such problem In the previous version superset 2.1.0 The error is reproduced on all types of charts.

image

image

ivanovpavel1983 avatar Sep 25 '23 09:09 ivanovpavel1983

Can confirm with v3.0.2 and v3.1.0rc2

D3nn3 avatar Dec 13 '23 09:12 D3nn3

The problem reproduced in 3.0.2 ((( Image20231213122846 Image20231213122853

ivanovpavel1983 avatar Dec 13 '23 09:12 ivanovpavel1983

Are you still seeing this in 3.1/4.0? CC @geido for context, who is looking at some of these color consistency issues.

rusackas avatar Apr 23 '24 22:04 rusackas

Can only test 3.1 for now, there I can still reproduce the issue. Opening an existing dashboard and just refreshing the page changes the colors of the metrics

image

image

D3nn3 avatar Apr 24 '24 08:04 D3nn3

I'll track this here https://github.com/apache/superset/pull/27439

geido avatar May 02 '24 14:05 geido

After a little bit more investigation there seems to be a different problem here in addition to the labels changing color. In the bar chart the label is emitted as COUNT(*). There is no specific label emitted for which makes making label colors consistent across charts impossible. This requires a separate fix.

geido avatar May 13 '24 14:05 geido