gabriela-schuster opened a new issue, #38514:
URL: https://github.com/apache/superset/issues/38514
### Bug description
# Description
I have a chart with a custom theme palette applied. When I edit the chart
from the Charts tab, I can modify its color scheme and the colors are applied
correctly.
However, when the chart is displayed on my dashboard, it appears with
completely different colors, even though "SHARED_COLORS": False is set in my
feature flags.
If I try to edit the chart from the dashboard view, it says that I can't
edit the chart's color scheme.
What's strange is that this only happens with a few charts on my dashboard
(around five). The other ~20 charts work normally and their color schemes can
be changed even when editing them from the dashboard context.
Custom color scheme:
```py
EXTRA_CATEGORICAL_COLOR_SCHEMES = [
{
"id": 'forestGisColors',
"description": '',
"label": 'Colors of Forest',
"isDefault": True,
"colors":
['#765a00', '#9d7800', '#c49600', '#ffc300']
}
]
```
Feature Flags:
```py
FEATURE_FLAGS = {
"ENABLE_TEMPLATE_PROCESSING": True,
"EMBEDDED_SUPERSET": True,
"DASHBOARD_RBAC": True,
"SHARED_COLORS": False,
}
```
### Screenshots/recordings
Dashboard:
<img width="929" height="679" alt="Image"
src="https://github.com/user-attachments/assets/514c83d5-99d0-48e8-ac1d-bd36dd31ebb6"
/>
<img width="868" height="824" alt="Image"
src="https://github.com/user-attachments/assets/bff675e8-56ac-430a-ac3b-706423385539"
/>
Chart:
<img width="2439" height="1113" alt="Image"
src="https://github.com/user-attachments/assets/f3236ddd-d2d8-49d9-9a7e-5dd4e0ffc0bc"
/>
Chart when I edit it directly from dashboard's page:
<img width="2436" height="1120" alt="Image"
src="https://github.com/user-attachments/assets/2677de88-dd8e-4d1b-924f-c4b78a29d4bf"
/>
Completely fine charts in the same dashboard:
<img width="2201" height="1254" alt="Image"
src="https://github.com/user-attachments/assets/ddddd287-b3bf-406f-8698-4614eaf9e92b"
/>
<img width="2153" height="1189" alt="Image"
src="https://github.com/user-attachments/assets/23f3fb99-2ab4-469e-8c40-7b36a945e277"
/>
### Superset version
6.0.0
### Python version
3.11
### Node version
I don't know
### Browser
Firefox
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]