You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When displaying charts inside a dashboard the color scheme seems not to be resetted after each chart render. This cause the charts to look different whereas they should be harmonized. When we open the chart individually the bug is not present.
In the steps to reproduce, I am focusing on 1 type of chart but it's something we have noticed on differents type of charts.
How to reproduce the bug
With superset 3.1.0rc3
Go to the USA Births Names dashboard from the examples
Scroll to the 10 girl name share
Notice that there is no red or orange used. Also notice that the girl and the boy charts are using different colors but they should have the same colors used.
5. Go to the chart listing page
6. Search for `10 girl name share`
7. Open it
8. Notice that the chart is displayed with different colors that on the dashboard view including red and orange.
Expected results
In version 2.1.0
The dashboard, both girl and boy charts are using the same color:
The chart individually:
Actual results
In 3.1.0rc3
The dashboard, girl and boy charts are using different colors for rendering.
Whereas individually the chart is displayed the same as 2.1.0:
Environment
(please complete the following information):
browser type and version: firefox 120.0.1
superset version: 3.1.0rc3 in docker
python version: 3.9.18
node.js version: node -v
any feature flags active:
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
The text was updated successfully, but these errors were encountered:
Hi @ablanchard. The same chart might be present in multiple dashboards and each dashboard has its own color scheme. Any time you access a chart individually, using the chart list, it won't match the color of any specific dashboard. If your dashboard have a Color Scheme defined, and you access the chart from the dashboard by clicking on Edit Chart, the chart will inherit the same color scheme defined by the dashboard.
Thanks @michael-s-molina, you are right this issue is not very related with the bug I'm seeing. I'll try to reproduce it more precisely and maybe create a new issue.
When displaying charts inside a dashboard the color scheme seems not to be resetted after each chart render. This cause the charts to look different whereas they should be harmonized. When we open the chart individually the bug is not present.
In the steps to reproduce, I am focusing on 1 type of chart but it's something we have noticed on differents type of charts.
How to reproduce the bug
USA Births Names
dashboard from the examples10 girl name share
Expected results
In version 2.1.0
The dashboard, both girl and boy charts are using the same color:
The chart individually:
Actual results
In 3.1.0rc3
The dashboard, girl and boy charts are using different colors for rendering.
Whereas individually the chart is displayed the same as 2.1.0:
Environment
(please complete the following information):
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: