# Easy Chart Save Button

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-save-button/5655>\
**Category:** Ignition\
**Created:** [January 7, 2013, 10:46pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button/5655 "2013-01-07T22:46:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nate.Olson](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nate.Olson](https://forum.inductiveautomation.com/u/Nate.Olson)\
**Post date:** [January 7, 2013, 10:46pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button/5655/1 "2013-01-07T22:46:44Z")

</div>

Is there a way to dynamically change the Save As file name from the default Chart.xls?

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [January 7, 2013, 11:26pm UTC](https://forum.inductiveautomation.com/t/easy-chart-save-button/5655/2 "2013-01-07T23:26:51Z")

</div>

The default filename of Chart.xls in the Save As dialog box is hard-coded. If you wanted a different one, you would have to implement your own button that gets tag history using system.tag.queryTagHistory() and the start/end date properties of the chart, and then system.dataset.exportExcel() to export that dataset to an Excel file.
