# Kibana 7.1x always resets colors when editing visualization

**URL:** <https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599>\
**Category:** Kibana\
**Created:** [February 18, 2022, 10:57am UTC](https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599 "2022-02-18T10:57:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xchess64](https://avatars.discourse-cdn.com/v4/letter/x/7c8e57/32.png) [@xchess64](https://discuss.elastic.co/u/xchess64)\
**Post date:** [February 18, 2022, 10:57am UTC](https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599/1 "2022-02-18T10:57:23Z")

</div>

Hi all,  
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)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/3/73b608eeb98fccbcfb2e3e970694fd097f63d58d.png)

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

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8ccab876a8fc66b3d3f2ccff66ce52b674ea03a.png)

Is there a way to avoid this behavior?

Thank you for any help.

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [February 22, 2022, 10:00am UTC](https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599/2 "2022-02-22T10:00:46Z")

</div>

Hello,

I tried to reproduce this behavior in 7.16.3 and couldn't. What version exactly are you using?

---

<div class="post-metadata">

**Author:** ![xchess64](https://avatars.discourse-cdn.com/v4/letter/x/7c8e57/32.png) [@xchess64](https://discuss.elastic.co/u/xchess64)\
**Post date:** [February 22, 2022, 5:59pm UTC](https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599/3 "2022-02-22T17:59:59Z")

</div>

Hi, thanks for the reply. I thought it was on every 7;1x because I used a 7.13, 7.14, 7.15 and even I still have the problem on a 7.16.2 currently. I will try your version.

---

<div class="post-metadata">

**Author:** ![xchess64](https://avatars.discourse-cdn.com/v4/letter/x/7c8e57/32.png) [@xchess64](https://discuss.elastic.co/u/xchess64)\
**Post date:** [March 1, 2022, 3:01pm UTC](https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599/4 "2022-03-01T15:01:04Z")

</div>

Hi,  
After testing, I still have the problem on a 7.16.3 and even on a 7.17.00.

If your create an aggregation with a vertical bar and save it and you decide to add another metric for instance, then you edit your visualization, and add another Y-axis, there you reproduce the problem.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 29, 2022, 3:01pm UTC](https://discuss.elastic.co/t/kibana-7-1x-always-resets-colors-when-editing-visualization/297599/5 "2022-03-29T15:01:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
