Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different colours for the same metrics #25384

Closed
ivanovpavel1983 opened this issue Sep 25, 2023 · 6 comments · Fixed by #27439
Closed

Different colours for the same metrics #25384

ivanovpavel1983 opened this issue Sep 25, 2023 · 6 comments · Fixed by #27439

Comments

@ivanovpavel1983
Copy link

ivanovpavel1983 commented Sep 25, 2023

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

@D3nn3
Copy link

D3nn3 commented Dec 13, 2023

Can confirm with v3.0.2 and v3.1.0rc2

@ivanovpavel1983
Copy link
Author

The problem reproduced in 3.0.2 (((
Image20231213122846
Image20231213122853

@rusackas
Copy link
Member

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

@D3nn3
Copy link

D3nn3 commented Apr 24, 2024

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

@geido
Copy link
Member

geido commented May 2, 2024

I'll track this here #27439

@geido
Copy link
Member

geido commented May 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants