# Changing X-Axis Labels in a Bar Graph

**URL:** <https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178>\
**Category:** Kibana\
**Created:** [October 3, 2019, 1:24pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178 "2019-10-03T13:24:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetracer](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@planetracer](https://discuss.elastic.co/u/planetracer)\
**Post date:** [October 3, 2019, 1:24pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/1 "2019-10-03T13:24:30Z")

</div>

if I have the following:

 ![Screenshot%20from%202019-10-03%2009-26-37](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3eaf542630602e56f9b2fd73d48464609baef218.png)  
How can I change it so that the x-axis labels say "hit" and "full"?

---

<div class="post-metadata">

**Author:** ![Andrew22](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Andrew22](https://discuss.elastic.co/u/Andrew22)\
**Post date:** [October 3, 2019, 1:29pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/2 "2019-10-03T13:29:21Z")

</div>

@planetracer change the custom label on the X-Axis

---

<div class="post-metadata">

**Author:** ![planetracer](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@planetracer](https://discuss.elastic.co/u/planetracer)\
**Post date:** [October 3, 2019, 1:39pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/3 "2019-10-03T13:39:50Z")

</div>

I'm not completely sure what you mean

---

<div class="post-metadata">

**Author:** ![Andrew22](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Andrew22](https://discuss.elastic.co/u/Andrew22)\
**Post date:** [October 3, 2019, 1:42pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/4 "2019-10-03T13:42:12Z")

</div>

when you are creating the graphs x-axis at the bottom on the left hand side you will see a empty box with the name "custom label" whatever text you enter there will change the label on the X-Axis of the graph

---

<div class="post-metadata">

**Author:** ![planetracer](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@planetracer](https://discuss.elastic.co/u/planetracer)\
**Post date:** [October 3, 2019, 1:50pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/5 "2019-10-03T13:50:59Z")

</div>

i meant labels of individual items on the graph, so instead of all it would be "full" on the left and "hit" on the right

---

<div class="post-metadata">

**Author:** ![Andrew22](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Andrew22](https://discuss.elastic.co/u/Andrew22)\
**Post date:** [October 3, 2019, 1:55pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/6 "2019-10-03T13:55:46Z")

</div>

im not sure about how to do this but I know you can enter an invisible character with alt 0160 in the custom label section and it will show the spaces on the label

---

<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:** [October 31, 2019, 1:55pm UTC](https://discuss.elastic.co/t/changing-x-axis-labels-in-a-bar-graph/202178/7 "2019-10-31T13:55:47Z")

</div>

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