# Line and bar position difference in same chart

**URL:** https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950
**Category:** Kibana
**Created:** [October 18, 2018, 7:53am UTC](https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950 "2018-10-18T07:53:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Wayne\_Du](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Wayne\_Du](https://discuss.elastic.co/u/Wayne_Du)
#### Post date: [October 18, 2018, 7:53am UTC](https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950/1 "2018-10-18T07:53:05Z")

</div>

When I create a visualize which include line and bar, I found the line's start time and the bar's inconsistent.  
Please see my screen shot, the link and bar in same chart, both of line and bar has data on 2018-08-06, but the line's position did not same as bar

Any one could help to give the solution for this issue, the kibana version is 6.3

 ![WeChat%20Image_20181018154923](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6d6de1cb8fd54d385a13667d9b2293268ed262a2.png)

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [October 19, 2018, 4:05am UTC](https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950/2 "2018-10-19T04:05:15Z")

</div>

This might have been a bug which was resolved as I can not reproduce on 6.4.

---

<div class="post-metadata">

### Author: ![Wayne\_Du](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Wayne\_Du](https://discuss.elastic.co/u/Wayne_Du)
#### Post date: [October 19, 2018, 5:37am UTC](https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950/3 "2018-10-19T05:37:58Z")

</div>

Thanks tylersmalley

---

<div class="post-metadata">

### Author: ![Wayne\_Du](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@Wayne\_Du](https://discuss.elastic.co/u/Wayne_Du)
#### Post date: [October 19, 2018, 5:51am UTC](https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950/4 "2018-10-19T05:51:13Z")

</div>

@tylersmalley Thanks so much, I have another question. When I created a visualize, and the Date Histogram select weekly, when the mouse hover on the bar, the date show 2018-08-06, but the data in the X-axis is 2018-08-11, I set the weeks start on Sunday in Advanced Settings. it's possibly to set the date on bar same as the X-axis ? please refer may screen shot.

 ![9999](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66a71e7442514b204546c5da7ca8e70a56f72dcc.png)

Thanks

---

<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: [November 16, 2018, 5:55am UTC](https://discuss.elastic.co/t/line-and-bar-position-difference-in-same-chart/152950/5 "2018-11-16T05:55:07Z")

</div>

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