apache / apache/superset

Color scheme assigned on the charts are not respect by the dashboard

Open
#37,711 3 comments 0 reactions 0 assignees View on GitHub
dashboard:colors
Dominant language
Python
Stars
74.8k
Forks
18.3k
Avg merge
2d 5h
Merged PRs (30d)
685

Description

### Bug description

I try to have different color schemes for each chart on the dashboard. I did the following steps

1. Removed color scheme for the dashboard. I left empty

Image

3. Went to the charts and set the color scheme for each chart directly.

Image

5. Hard refresh the browser.
6. I saw the scheme colors are right if I go to the charts, but when I go to the dashboard, colors are not right. If you see on the chart Volume Referring (right), it is mixing blue and red, but the scheme is only blue. The chart to the left is right

Image

What am I missing?
Best
H. Mendez

### Screenshots/recordings

_No response_

### Superset version

6.0.0

### Python version

3.9

### Node version

16

### Browser

Chrome

### Additional context

_No response_

### Checklist

- [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Superset 6.0.0 using a dashboard with no dashboard color scheme and charts that have different schemes. Compare each chart's standalone rendering with its dashboard rendering, then verify that the dashboard preserves each chart's configured colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, react
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.