Open marcelgerber opened 3 months ago
Arguably, this could also be fixed by assigning fixed colors to the chart dimensions, which in fact is what we do in most Stacked bar charts with non-default colors.
It is a bit of an open question how often we have this case, where we are using a non-default color scheme to assign colors to a stacked chart - if it's not happening often, then the above is an absolutely valid workaround.
Description
The logic for choosing bar colors is different for faceted and unfaceted stacked bar charts, leading to inconsistent colors between page reloads.
Steps to reproduce
Steps to reproduce the behavior:
Screenshots
https://github.com/owid/owid-grapher/assets/2641501/c97b6af7-e3cf-4356-ac8c-065849a84416
Additional context
In this chart, there are not explicit colors assigned to the indicators.
Instead, it's using the Red-Blue color scale (see the Customize tab in Admin)