# Reports - Timeseries chart, remove extra spaces on trend

**URL:** <https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516>\
**Category:** Ignition\
**Tags:** ignition81, reporting\
**Created:** [April 8, 2024, 2:25pm UTC](https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516 "2024-04-08T14:25:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayanakoji](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Ayanakoji](https://forum.inductiveautomation.com/u/Ayanakoji)\
**Post date:** [April 8, 2024, 2:25pm UTC](https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516/1 "2024-04-08T14:25:30Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/df6849277615cb18b843fa117dd40dfdbdbb9f16.jpeg)  
remove or make the trend starts to the corner with no margin or gap

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 8, 2024, 3:05pm UTC](https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516/2 "2024-04-08T15:05:09Z")

</div>

Set the margin on the X-axis to zero, perhaps?

---

<div class="post-metadata">

**Author:** ![Ayanakoji](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Ayanakoji](https://forum.inductiveautomation.com/u/Ayanakoji)\
**Post date:** [April 10, 2024, 5:08pm UTC](https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516/3 "2024-04-10T17:08:08Z")

</div>

hi thanks for the reply, where i can find that settings? because these 2 are the only available for the x axis  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/2/e2072e3f9593f2403962803f0e5c7a7bc87aba17.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 10, 2024, 6:22pm UTC](https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516/4 "2024-04-10T18:22:03Z")

</div>

Ah, I see. You would use a script to configure the chart. Something like this:

```auto
def configureChart(data, chart):
	axis = chart.plot.domainAxis
	axis.lowerMargin = 0.0
	axis.upperMargin = 0.0

```

Find this option here:

 ![Report Chart Configure Script](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/f/5f86f8f2ed91a8882825d8ea4c33fb872a606b79.png)

Note that this script doesn't run on the Design tab. Just on the Preview tab and in actual outputs.

---

<div class="post-metadata">

**Author:** ![Ayanakoji](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Ayanakoji](https://forum.inductiveautomation.com/u/Ayanakoji)\
**Post date:** [April 10, 2024, 6:40pm UTC](https://forum.inductiveautomation.com/t/reports-timeseries-chart-remove-extra-spaces-on-trend/88516/5 "2024-04-10T18:40:11Z")

</div>

> [@pturmel](#):
>
> ```auto
> axis = chart.plot.domainAxis
> axis.lowerMargin = 0.0
> axis.upperMargin = 0.0
> 
> ```

thanks sir! 👍
