# Hide Perspective Time Series Chart Y-Axis

**URL:** <https://forum.inductiveautomation.com/t/hide-perspective-time-series-chart-y-axis/55072>\
**Category:** General Discussion\
**Created:** [January 17, 2022, 2:59pm UTC](https://forum.inductiveautomation.com/t/hide-perspective-time-series-chart-y-axis/55072 "2022-01-17T14:59:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry\_vikara](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jerry\_vikara](https://forum.inductiveautomation.com/u/jerry_vikara)\
**Post date:** [January 17, 2022, 2:59pm UTC](https://forum.inductiveautomation.com/t/hide-perspective-time-series-chart-y-axis/55072/1 "2022-01-17T14:59:23Z")

</div>

I am trying to hide the axes in a time series chart to make it look like a sparkline but to show area under the line.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/6/46e2314cf14ffae12417e8af1d45ca73b83a7d4f.png)  
The x axis is pretty close but I cannot see how to have something similar for the y.

---

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [January 17, 2022, 3:44pm UTC](https://forum.inductiveautomation.com/t/hide-perspective-time-series-chart-y-axis/55072/2 "2022-01-17T15:44:12Z")

</div>

you have to add a new axe to your trend and change tick and label color to transparent

 ![Sin título](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/2/f251f1a1c04ef44928ab14a8ad734c8677d5c02f.png)

---

<div class="post-metadata">

**Author:** ![brandon1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@brandon1](https://forum.inductiveautomation.com/u/brandon1)\
**Post date:** [May 3, 2024, 3:18pm UTC](https://forum.inductiveautomation.com/t/hide-perspective-time-series-chart-y-axis/55072/3 "2024-05-03T15:18:54Z")

</div>

I am noticing that the y-axis and x-axis line still exists. How can those be removed? Basically, I just want to see the lines on the chart.

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [May 23, 2024, 10:41pm UTC](https://forum.inductiveautomation.com/t/hide-perspective-time-series-chart-y-axis/55072/4 "2024-05-23T22:41:32Z")

</div>

Setting the **width** of the axis to **1** (zero doesn't work) also appears to hide the axis ticks and setting the style **display** property for the whole axis to **none** hides the y-axis line.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/6/f6002c35e9e3ac705448325f6077b521f0415fcf.png)

If you do the same for the chart timeAxis (style.display = none and height = 1), you can hide the x-axis ticks and line.
