# Y axis using unformatted data

**URL:** <https://discuss.elastic.co/t/y-axis-using-unformatted-data/189357>\
**Category:** Kibana\
**Created:** [July 8, 2019, 1:26pm UTC](https://discuss.elastic.co/t/y-axis-using-unformatted-data/189357 "2019-07-08T13:26:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michiele\_Ogbagabir](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Michiele\_Ogbagabir](https://discuss.elastic.co/u/Michiele_Ogbagabir)\
**Post date:** [July 8, 2019, 1:26pm UTC](https://discuss.elastic.co/t/y-axis-using-unformatted-data/189357/1 "2019-07-08T13:26:37Z")

</div>

I have duration data that comes in as seconds. I modified the duration field to convert it to hours as follows.

![duration](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f613e754fbfc6ec01a7881594a2ee347355a2285.png)

This works well and I am able to see the data in hours in the Discover tab. When I try to visualize this data in a line graph, the Y-axis is appropriately scaled in hours as shown here.

 ![y%20axis%20correct](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d2dab9989387cacdc279ec132d98eedc488aa03.png)

But when I try to visualize this same data along with other data on the Y-axis as follows, the Y-axis is in seconds.

 ![y%20axis](https://us1.discourse-cdn.com/elastic/original/3X/1/3/1391f259eb7cf1b6ab5b20c816cc9d1b5aa99ef3.png)

Why does it display duration in hours when it is the only data on the Y-axis but display the same data in seconds when mixed with other data? How can I have it display in hours instead?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [July 12, 2019, 9:48am UTC](https://discuss.elastic.co/t/y-axis-using-unformatted-data/189357/2 "2019-07-12T09:48:01Z")

</div>

Is the other data's format hours as well, or is it seconds?

---

<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:** [August 9, 2019, 9:48am UTC](https://discuss.elastic.co/t/y-axis-using-unformatted-data/189357/3 "2019-08-09T09:48:02Z")

</div>

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