# Add a static line on a line chart

**URL:** <https://community.holistics.io/t/add-a-static-line-on-a-line-chart/1665>\
**Category:** Ask the Community\
**Tags:** visualizations\
**Created:** [August 30, 2023, 9:49am UTC](https://community.holistics.io/t/add-a-static-line-on-a-line-chart/1665 "2023-08-30T09:49:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cherice](https://community.holistics.io/user_avatar/community.holistics.io/cherice/32/1354_2.png) [@Cherice](https://community.holistics.io/u/Cherice)\
**Post date:** [August 30, 2023, 9:49am UTC](https://community.holistics.io/t/add-a-static-line-on-a-line-chart/1665/1 "2023-08-30T09:49:51Z")

</div>

I have a line chart which looks at quantity over time.  
I’m trying to add a static line on a specific date to indicate when an event took place - I’ve tried to do this by adding the date into a business calculation but it’s not working. How would I get this to work?

---

<div class="post-metadata">

**Author:** ![Theodore](https://community.holistics.io/user_avatar/community.holistics.io/theodore/32/832_2.png) [@Theodore](https://community.holistics.io/u/Theodore)\
**Post date:** [September 5, 2023, 3:27am UTC](https://community.holistics.io/t/add-a-static-line-on-a-line-chart/1665/2 "2023-09-05T03:27:18Z")

</div>

Hi Cherice,

Welcome to the Community 🎉

Just to clarify, are you attempting to add a vertical static line on a particular date on the x-axis, similar to what’s shown in the image?

 ![image](https://community.holistics.io/uploads/default/original/2X/6/60fcf1b3d2a99151ddc50be75f1e3447756a275f.png)

---

<div class="post-metadata">

**Author:** ![Cherice](https://community.holistics.io/user_avatar/community.holistics.io/cherice/32/1354_2.png) [@Cherice](https://community.holistics.io/u/Cherice)\
**Post date:** [September 5, 2023, 10:12am UTC](https://community.holistics.io/t/add-a-static-line-on-a-line-chart/1665/3 "2023-09-05T10:12:30Z")

</div>

Hi Thinh, thanks for the welcome! Yep, that’s exactly what I’m looking for 🙂
