'Kibana 7.1x (7.16 for me) resets colors when editing "vertical bar" visualization type

When I edit a vertical bar vizualisation in kibana, the histogram colors reset to the default value each time I edit the visualization.

Before I click on the edit button (from the dashboard view)

enter image description here

After the click "edit visualization", I obtain the following graph with the default colors.

enter image description here

Is there a way to avoid this behavior?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source