# Easy Chart Save Button Question

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885>\
**Category:** Ignition\
**Created:** [July 25, 2019, 4:46pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885 "2019-07-25T16:46:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgonya](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgonya/32/9304_2.png) [@jgonya](https://forum.inductiveautomation.com/u/jgonya)\
**Post date:** [July 25, 2019, 4:46pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885/1 "2019-07-25T16:46:44Z")

</div>

I just had a quick question. Is there a way to not lose data when using the save button on the easy chart? I have data saving to a DB at 1 sec and have the data displayed on the easy chart. However when the easy chart is displaying a whole day and its saved using the button the data it not at 1 sec. it more like a 3 mins. Is there anyway to have all the data saved?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 25, 2019, 5:13pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885/2 "2019-07-25T17:13:02Z")

</div>

The Easy Chart defaults to a ‘fixed’ resolution of 300 datapoints. In the advanced configuration, you can change the history query to a different mode (you probably want On Change [meaning for every datapoint actually logged into the historian] or Natural [one output row for every theoretical scan class execution, if the historian did not compression])

---

<div class="post-metadata">

**Author:** ![jgonya](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgonya/32/9304_2.png) [@jgonya](https://forum.inductiveautomation.com/u/jgonya)\
**Post date:** [July 25, 2019, 5:47pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885/3 "2019-07-25T17:47:47Z")

</div>

Is there a way to bind the tag history resolution to change when based on endDate and startDate using fixed setting. Something like this?

{Root Container.Easy Chart.endDate} - {Root Container.Easy Chart.startDate}

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 25, 2019, 5:49pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885/4 "2019-07-25T17:49:58Z")

</div>

You could use [`minutesBetween({startDate}, {endDate})`](https://docs.inductiveautomation.com/display/DOC80/*Between), then multiply by some number if you want to drive it off X number of seconds.

---

<div class="post-metadata">

**Author:** ![jgonya](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgonya/32/9304_2.png) [@jgonya](https://forum.inductiveautomation.com/u/jgonya)\
**Post date:** [July 25, 2019, 5:50pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button-question/26885/5 "2019-07-25T17:50:28Z")

</div>

thanks
