# Customise labels showing on a pie graph

**URL:** <https://discuss.elastic.co/t/customise-labels-showing-on-a-pie-graph/164968>\
**Category:** Kibana\
**Created:** [January 21, 2019, 12:58am UTC](https://discuss.elastic.co/t/customise-labels-showing-on-a-pie-graph/164968 "2019-01-21T00:58:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurubob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gurubob/32/39995_2.png) [@gurubob](https://discuss.elastic.co/u/gurubob)\
**Post date:** [January 21, 2019, 12:58am UTC](https://discuss.elastic.co/t/customise-labels-showing-on-a-pie-graph/164968/1 "2019-01-21T00:58:18Z")

</div>

Hello all,

Can someone point me in the right direction for customising the labels showing on a pie graph in a Kibana dashboard? Is it possible?

I have a document property which has values of customer\_maildir, customer\_maildir\_junk, rejected\_spam and rejected\_virus. These are showing as literal labels on a pie graph but I would like to show "Delivered", "Delivered (Junk)", "Rejected (Spam)" and "Rejected (Virus)" accordingly.

![Selection_999(1949)](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e78c5715a2a1202f8d2a1345ac368ddd9140c524.png)

Thanks,

- Bob -

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [January 21, 2019, 4:21pm UTC](https://discuss.elastic.co/t/customise-labels-showing-on-a-pie-graph/164968/2 "2019-01-21T16:21:01Z")

</div>

Hello Bob,

You can add custom labels for your aggregations. The field is called custom label and its on visualization editor on the right side.

 ![pie_chart](https://us1.discourse-cdn.com/elastic/original/3X/c/5/c51709a394c32a2c7c82d337c98a238a2e3a5503.png)

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![gurubob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gurubob/32/39995_2.png) [@gurubob](https://discuss.elastic.co/u/gurubob)\
**Post date:** [January 21, 2019, 7:16pm UTC](https://discuss.elastic.co/t/customise-labels-showing-on-a-pie-graph/164968/3 "2019-01-21T19:16:18Z")

</div>

Hi Bhavya,

Thanks for your reply - I mean the values themselves - in your case the value "Zurich" makes good sense, but with mine I would like to have the actual value show as something different.

Cheers,

- Bob -

---

<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:** [February 18, 2019, 7:16pm UTC](https://discuss.elastic.co/t/customise-labels-showing-on-a-pie-graph/164968/4 "2019-02-18T19:16:38Z")

</div>

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