# How to show only 2 numbers in vertical axis

**URL:** https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897
**Category:** Kibana
**Created:** [September 13, 2023, 3:14am UTC](https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897 "2023-09-13T03:14:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rkidev](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rkidev](https://discuss.elastic.co/u/rkidev)
#### Post date: [September 13, 2023, 3:14am UTC](https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897/1 "2023-09-13T03:14:57Z")

</div>

Hi, I have only 2 servers and in the time series graph I want to show which server is online. Is there any way in Kibana to show only 2 numbers in X-axis ?  
I know Kibana dynamically set the ranges and display values but the graph is not looking good as it's showing too many numbers in between.  
I just want to show the red circle numbers.

 ![Graph](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb911ea2de76e65a32e252155676dd112916c834.jpeg)

---

<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: [September 13, 2023, 9:27am UTC](https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897/2 "2023-09-13T09:27:37Z")

</div>

Hi @rkidev

what editor are you using, Lens or TSVB?

In recent versions of Lens the number of ticks has been reduced:

 ![Screenshot 2023-09-13 at 11.27.17](https://us1.discourse-cdn.com/elastic/original/3X/3/7/37eecb5df304b099e9905982fa8c79820fef3317.png)

---

<div class="post-metadata">

### Author: ![rkidev](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rkidev](https://discuss.elastic.co/u/rkidev)
#### Post date: [September 14, 2023, 5:56am UTC](https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897/3 "2023-09-14T05:56:13Z")

</div>

Hi Marco, I am using Lens and Elastic Search version is 8.3.2. And in the above screenshot you have attached, I just want to display 0,1 & 2 (don't want to show 0.5 and 1.5 in between).

---

<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: [September 14, 2023, 6:48am UTC](https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897/4 "2023-09-14T06:48:24Z")

</div>

At the moment there's no fine control about what kind of ticks to show.  
I found an issue which tracks axis ticks representation, in particular there's a point about showing integer only values: [[Lens] Improve tick formatting · Issue #97100 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/97100)

---

<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 12, 2023, 6:48am UTC](https://discuss.elastic.co/t/how-to-show-only-2-numbers-in-vertical-axis/342897/5 "2023-10-12T06:48:54Z")

</div>

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