# Trends not returning any data outside of time range

**URL:** <https://forum.inductiveautomation.com/t/trends-not-returning-any-data-outside-of-time-range/113470>\
**Category:** Ignition\
**Tags:** vision, perspective\
**Created:** [January 22, 2026, 4:59am UTC](https://forum.inductiveautomation.com/t/trends-not-returning-any-data-outside-of-time-range/113470 "2026-01-22T04:59:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msmith](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@msmith](https://forum.inductiveautomation.com/u/msmith)\
**Post date:** [January 22, 2026, 4:59am UTC](https://forum.inductiveautomation.com/t/trends-not-returning-any-data-outside-of-time-range/113470/1 "2026-01-22T04:59:31Z")

</div>

> [@Vision EasyChart doesn't show data from outside date range](https://forum.inductiveautomation.com/t/vision-easychart-doesnt-show-data-from-outside-date-range/29627):
>
> v7.9.9 Before you say “duh, because the data is outside of your date range”… I have this trend below, displaying raw data: Note no data shown at the start for both pens. If I extend the chart to 2 minutes before, this happens: I feel I know the reason for why this data is missing, as within the given date range these data points don’t exist. However I don’t think that’s a valid reason not to show the pen trend extended to the edge of the chart, at the value it is at the …

Creating a new topic as the above is vision and not perspective, and exactly the issue I am experiencing (although I expect the underlying reason to be the same). I am trying to be a good boy who does not trend everything at one second intervals and use up all the server space. This is causing me a bit of grief though as I am trending a setpoint which might change fairly irregularly against a PV that I would like to view on a timescale of a few minutes. Is there a combination of settings I am missing that will allow the trend to obtain the **most recent** history point (even if outside the time range) to fill out the trend?

This is particularly egregious when returning a tag history biding as a point count (the trend always starts at 0 even with data just outside the window).

See below crudely amended trend of what I would like to achieve:

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

---

<div class="post-metadata">

**Author:** ![msmith](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@msmith](https://forum.inductiveautomation.com/u/msmith)\
**Post date:** [January 22, 2026, 9:35pm UTC](https://forum.inductiveautomation.com/t/trends-not-returning-any-data-outside-of-time-range/113470/2 "2026-01-22T21:35:09Z")

</div>

@nminchin Did you ever figure out a workaround to this?

---

<div class="post-metadata">

**Author:** ![JVDM](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@JVDM](https://forum.inductiveautomation.com/u/JVDM)\
**Post date:** [January 30, 2026, 10:51am UTC](https://forum.inductiveautomation.com/t/trends-not-returning-any-data-outside-of-time-range/113470/3 "2026-01-30T10:51:13Z")

</div>

I had a similar situation, where I displayed Phase changes in an XY Chart.

If the time setting is on 12:00, and there’s a phase change on 11:59 and 12:10, there’s no data between 12:00 and 12:10. In the XY Chart I got my data through [QueryTagHistory](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-tag/system-tag-queryTagHistory), and used the includeBoundingValues argument to solve it ( I think, i’m still testing ).

I would assume that this setting would be available _somewhere_ through the Pen’s history data source. I just haven’t been able to find it yet.

It’s not a solution, but maybe a step closer. I’m also looking for the same solution as you are, so I hope this helps us in the long run.
