# Label leader lines on pie charts

**URL:** <https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365>\
**Category:** Kibana\
**Created:** [October 11, 2021, 12:22pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365 "2021-10-11T12:22:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathias\_Christian\_Cl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mathias_christian_cl/32/82423_2.png) [@Mathias\_Christian\_Cl](https://discuss.elastic.co/u/Mathias_Christian_Cl)\
**Post date:** [October 11, 2021, 12:22pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/1 "2021-10-11T12:22:33Z")

</div>

Hi,  
I am using Elastic 7.14 and I am trying to create a pie chart which also shows lines from the pie chart to the percentage values. If one slice of the pie is large enough, it is okay to display the value, but if not then I would like som lines/arrows which points to the slice with the corresponding value %. Is there any way I can enable this?

 ![Skærmbillede 2021-10-11 141843](https://us1.discourse-cdn.com/elastic/original/3X/d/b/db02001240769c99e20f6b5e73aab1a6cb647466.png)

---

<div class="post-metadata">

**Author:** ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)\
**Post date:** [October 11, 2021, 1:01pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/2 "2021-10-11T13:01:00Z")

</div>

We do not currently have this option. This issue is tracking the enhancement - [[Pie][Lens] Allow the labels to be displayed only outside the chart · Issue #111673 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/111673) ...i've linked them up

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [October 11, 2021, 1:41pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/3 "2021-10-11T13:41:20Z")

</div>

Make sure to have selected the right configuration for the Pie chart legend panel: it should be set to `Inside or outside`

 ![Screenshot 2021-10-11 at 15.36.26](https://us1.discourse-cdn.com/elastic/original/3X/1/2/12b8fd51d4eaba73c169d490c6364340b18638fc.jpeg)

 ![Screenshot 2021-10-11 at 15.36.31](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c84bfcacfd7714508dce3aaeaaf918f5c2d1eb00.jpeg)

It works only for one level (Pie chart), not for multiple levels (like Sunburst).

---

<div class="post-metadata">

**Author:** ![Mathias\_Christian\_Cl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mathias_christian_cl/32/82423_2.png) [@Mathias\_Christian\_Cl](https://discuss.elastic.co/u/Mathias_Christian_Cl)\
**Post date:** [October 11, 2021, 1:46pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/4 "2021-10-11T13:46:47Z")

</div>

Okay. As you can see on the image the label position has been set to "inside or outside". It seems like sometimes it shows the leader lines and sometimes it doesn't?

 ![Skærmbillede 2021-10-11 154423](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f5cea583f51dc321213b7985a5491a787b89f251.png)

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [October 11, 2021, 1:49pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/5 "2021-10-11T13:49:23Z")

</div>

I see you are using the Aggregation based visualization editor.  
My screenshots are taken from the Lens editor.

---

<div class="post-metadata">

**Author:** ![Mathias\_Christian\_Cl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mathias_christian_cl/32/82423_2.png) [@Mathias\_Christian\_Cl](https://discuss.elastic.co/u/Mathias_Christian_Cl)\
**Post date:** [October 11, 2021, 2:04pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/6 "2021-10-11T14:04:23Z")

</div>

I have also tried in the Lens editor. Same story 🙂

 ![Skærmbillede 2021-10-11 160328](https://us1.discourse-cdn.com/elastic/original/3X/9/4/946abccf786c5eecc24a5863478750704ce744c4.png)

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [October 11, 2021, 2:24pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/7 "2021-10-11T14:24:35Z")

</div>

Can confirm there's something wrong when the small slices are in the first top right quadrant:

 ![Screenshot 2021-10-11 at 16.18.41](https://us1.discourse-cdn.com/elastic/original/3X/d/5/d5943906958e9431230a105d85d18a28a75832e1.png)

Will create an issue for both Lens and the Aggregation based editor for this: [[Lens][Visualize] In Pie charts outside labels are not shown for small slices when they are in the top-right area · Issue #114505 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/114505)

---

<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:** [November 8, 2021, 2:24pm UTC](https://discuss.elastic.co/t/label-leader-lines-on-pie-charts/286365/8 "2021-11-08T14:24:43Z")

</div>

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