# Weekly chart label mismatched?

**URL:** <https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269>\
**Category:** Kibana\
**Created:** [February 25, 2022, 11:04am UTC](https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269 "2022-02-25T11:04:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![howai](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@howai](https://discuss.elastic.co/u/howai)\
**Post date:** [February 25, 2022, 11:04am UTC](https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269/1 "2022-02-25T11:04:37Z")

</div>

I noticed that weekly chart (pic3) is use “First day of week” as date label and “End day of week” as data value.

May I know is there any way that I can change the date label as “End day of week” in weekly chart (i.e. 20th Feb =3413 )  
or make the weekly chart use “First day of week” as data value (i.e. 14th Feb =1450 )

![pic1](https://us1.discourse-cdn.com/elastic/original/3X/0/d/0dbfb5d7c5c72cc240e3087926c8f7c7db19825a.png)  
pic1. cumulative sum of products.quantity per day in 14th Feb

 ![pic1.1](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a9c141c9096d368180fa8ea2576bedcc61317fdc.png)  
pic2. cumulative sum of products.quantity per day in 20th Feb

![pic2](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72b1a16363995f5c99a87c02f0a95ebfbcb6ffde.png)  
pic3. cumulative sum of products.quantity per week in 14th Feb

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [February 28, 2022, 12:58pm UTC](https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269/2 "2022-02-28T12:58:16Z")

</div>

Hi, I am not sure I fully understand your question. Are you saying there is a discrepancy between the data that should be shown and the data that is shown?

If you're just wondering how to change the first day of the week, you can do that from `Advanced Settings > General` and there you can specify if you want it to be Sunday, Monday or something else.

---

<div class="post-metadata">

**Author:** ![howai](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@howai](https://discuss.elastic.co/u/howai)\
**Post date:** [March 1, 2022, 10:48am UTC](https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269/3 "2022-03-01T10:48:30Z")

</div>

Hi Maji, thanks for your reply

Since the cumulative sum of products.quantity on 2022-2-14 should be 1450(pic1 daily chart) and cumulative sum of products.quantity on 2022-2-20 should be 3413(pic2 daily chart).

When I change the x-axis to order\_date per week(pic3), the tooltip show cumulative sum of products.quantity=3413 on 2022-2-14 should be on 2022-2-20

I would like to make weekly chart tooltip show either

- products.quantity=3413 on 2022-2-20 (end on friday) (perferred) OR
- products.quantity=1450 on 2022-2-14 (start on monday)

Is there any way to do it?

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [March 1, 2022, 1:03pm UTC](https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269/4 "2022-03-01T13:03:25Z")

</div>

I am afraid this is not how date histogram works and cannot be changed

---

<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:** [March 29, 2022, 1:04pm UTC](https://discuss.elastic.co/t/weekly-chart-label-mismatched/298269/5 "2022-03-29T13:04:11Z")

</div>

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