# How to set a custom scale (y axis) in Lens-Line?

**URL:** <https://discuss.elastic.co/t/how-to-set-a-custom-scale-y-axis-in-lens-line/276899>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [June 24, 2021, 9:07am UTC](https://discuss.elastic.co/t/how-to-set-a-custom-scale-y-axis-in-lens-line/276899 "2021-06-24T09:07:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PJosse](https://avatars.discourse-cdn.com/v4/letter/p/71c47a/32.png) [@PJosse](https://discuss.elastic.co/u/PJosse)\
**Post date:** [June 24, 2021, 9:07am UTC](https://discuss.elastic.co/t/how-to-set-a-custom-scale-y-axis-in-lens-line/276899/1 "2021-06-24T09:07:16Z")

</div>

Hi,  
I starting to learn how to use Kibana, and I have a small difficulty : I want plot a line with Lens but scale for the y axis start at 0, so I cant see the real evolution of the line (my data is in [300-340]).  
I did not find how to config scale, can you help me ?

Thanks a lot

Kibana v7.11.2  
Elasticsearch v7.11.2

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 24, 2021, 9:48am UTC](https://discuss.elastic.co/t/how-to-set-a-custom-scale-y-axis-in-lens-line/276899/2 "2021-06-24T09:48:20Z")

</div>

Hi, in 7.11 it's not possible to do this in Lens - in the next minor version 7.14 (not released yet) it will be possible: [https://github.com/elastic/kibana/pull/99203](https://github.com/elastic/kibana/pull/99203)

Until then, you can use the "aggregation based" visualizations instead. They are a bit harder to use, but allow you to configure the scale.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [June 24, 2021, 2:34pm UTC](https://discuss.elastic.co/t/how-to-set-a-custom-scale-y-axis-in-lens-line/276899/3 "2021-06-24T14:34:40Z")

</div>

Just to add to this, TSVB also supports Y axis scaling if your X axis is a date field. TSVB will automatically set the scale based on the visible data if you change the _Fill_ to 0.

---

<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:** [July 22, 2021, 2:35pm UTC](https://discuss.elastic.co/t/how-to-set-a-custom-scale-y-axis-in-lens-line/276899/4 "2021-07-22T14:35:14Z")

</div>

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