# Kibana Pie Chart custom colors still not assignable

**URL:** https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577
**Category:** Kibana
**Created:** [December 4, 2023, 3:38pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577 "2023-12-04T15:38:55Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 4, 2023, 3:38pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/1 "2023-12-04T15:38:55Z")

</div>

Hello,

I've researched and checked the forums here for this answer, but unfortunately the suggestions on how to assign custom colors in a pie chart seem unavailable to me. Can you help?

Currently, I've only got a choice of what's available in the 'Color palette' field of Appearance. And the advice to add a legend and then click on the color shown there in order to choose a custom color doesn't work. Clicking on a color in the legend simply temporarily greys out the opposite color. What am I missing?

 ![Screenshot 2023-12-04 at 16.30.28](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd7bec89509454c5c2d97fc148245eee8e1a16b6.png)

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [December 4, 2023, 3:57pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/2 "2023-12-04T15:57:10Z")

</div>

Hey, you need to click on the colorful bullet in order the colors popover to appear

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

---

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 4, 2023, 4:04pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/3 "2023-12-04T16:04:11Z")

</div>

Hey hey! Thanks for the super fast reply. 🙂

Unfortunately, those little color bullets aren't clickable. They just react with a mouse-hover and grey out the other value's legend entry:

 ![Screenshot 2023-12-04 at 17.03.29](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91a6ce8b148ebfeaf2cca0a12e066fbe7e5b1740.png)

---

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 6, 2023, 8:18am UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/4 "2023-12-06T08:18:57Z")

</div>

Any suggestions or hints as to why this might be happening (i.e. that the colors popover does not appear)?

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [December 6, 2023, 10:41am UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/5 "2023-12-06T10:41:19Z")

</div>

I am so sorry, you are in Lens and not in the aggregation based pies. The solution I proposed is possible only from the aggregation based editor so you can use this for this case.

In Lens we added the functionality to give custom colors in 8.11

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0fd096cf780bcc902d9f3b1bef55271413f8f071.png)

so I guess if you are not in this version you are not going to have this feature.

---

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 6, 2023, 11:34am UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/6 "2023-12-06T11:34:04Z")

</div>

Thanks so much for the reply! That's all clear. We'll look into an upgrade, and I'll look into the aggregation based editor. Cheers.

---

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 7, 2023, 3:20pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/7 "2023-12-07T15:20:17Z")

</div>

Well, interesting: I loaded it through an aggregation-based pie, and the popover does indeed appear, but clicking another color doesn't actually display the selected color:

 ![Screenshot 2023-12-07 at 16.18.52](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e734127f94ce6e5b989285ce17bb719de046540b.png)

(Edit: In this particular case, for this aggregation pie chart, there's an extra color palette ('Status') available, which gets me my desired color mapping of green = true, red = false, but still, being able to set custom colors would be a bonus.)

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [December 7, 2023, 3:37pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/8 "2023-12-07T15:37:18Z")

</div>

Hmmm interesting, which kibana version are you using?

---

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 7, 2023, 3:41pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/9 "2023-12-07T15:41:59Z")

</div>

"version": {  
"number": "8.8.2",

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [December 7, 2023, 4:34pm UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/10 "2023-12-07T16:34:07Z")

</div>

This is a bug with the boolean fields. I will create an issue to fix it (it must work fine if you use another field type on the breakdown)

Use the status palette for the boolean fields for now, sorry about that ☹ If you upgrade to 8.11, Lens will give you all these options and much more! I really suggest it!

---

<div class="post-metadata">

### Author: ![dc\_3](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dc\_3](https://discuss.elastic.co/u/dc_3)
#### Post date: [December 8, 2023, 8:15am UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/11 "2023-12-08T08:15:18Z")

</div>

Well that answers that. Thank you for looking into it!

And already put in the request to upgrade with my team. 😃

---

<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: [January 5, 2024, 8:16am UTC](https://discuss.elastic.co/t/kibana-pie-chart-custom-colors-still-not-assignable/348577/12 "2024-01-05T08:16:16Z")

</div>

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