# EasyChart Save button Not Working

**URL:** <https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282>\
**Category:** Ignition\
**Created:** [September 16, 2019, 12:58pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282 "2019-09-16T12:58:22Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [September 16, 2019, 12:58pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/1 "2019-09-16T12:58:22Z")

</div>

I have anEasyChart being used in a trending Window and the ‘Save…’ Button with the disk on it does not work, it only outs an incomplete XML file. I would like to fire a custom event handler script to handle our custom needs better…is this possible to make a custom handler for this button?

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [October 9, 2019, 11:27pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/2 "2019-10-09T23:27:44Z")

</div>

Hi @lrhyrne - Are you still seeing this issue?  
If so, can you let us know what version you are using and what the XML file is?

---

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [October 10, 2019, 7:22pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/3 "2019-10-10T19:22:21Z")

</div>

Yes, still prevelant issue. Ignition verison 7.9.8. The ‘Save’ button is supposed to create an MS Excel file with tabular raw table data contained in the originating easy chart… I may have made an error saying xml by mistake. After testing just now, it is actuallly a XLS file. The saved file ends up being 2kb and gives several file validity errors when trying to open…ultimately fails.  
-Leif

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [October 10, 2019, 8:09pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/4 "2019-10-10T20:09:21Z")

</div>

When pressing the Save button, is the Client/Designer generating any errors in the console?

---

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [October 11, 2019, 12:13pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/5 "2019-10-11T12:13:46Z")

</div>

Paul.Scott,

No messages at all in the console (I cleared it fresh before even opening the window with the chart on it.  
After it exports the file, there are two errors when attempting to open it in Excel:

First:

 ![easy%20chart%20save%20error](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/17699c3f048a5c13c06e8a3e3491dac869808ea3.png)

Then after I select ‘Yes’ to open it anyway, I get this:

![easy%20chart%20save%20error1](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/fa4eb83de986773d705f0eabf1839fe38c14a628.png)

---

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [October 14, 2019, 1:54pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/6 "2019-10-14T13:54:06Z")

</div>

I hear this issue is fixed in Ignition 7.9.9? Is this true?

---

<div class="post-metadata">

**Author:** ![jose.pablo.arguello](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jose.pablo.arguello](https://forum.inductiveautomation.com/u/jose.pablo.arguello)\
**Post date:** [October 23, 2019, 10:11pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/7 "2019-10-23T22:11:15Z")

</div>

Hi. Im having the exact same problem.  
I try it with Ignition 7.9.8 (b2018060714) and Excel 2013, same problem using Ignition 7.9.10 and 7.9.12.  
We have another client with Ignition 7.9.10 and office 365 and it works fine. So im guessing it has to do with Excel. Have you found something else?. We wanted to recomend our client upgrading to the next Ignition Version. But probably its gonna have the same issue as long as the client is using Excel 2013.

---

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [October 24, 2019, 12:19pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/8 "2019-10-24T12:19:06Z")

</div>

I am using MS Office 2016 and Ignition 7.9.12. No solution found yet.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [October 30, 2019, 10:33pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/9 "2019-10-30T22:33:50Z")

</div>

Hi @lrhyrne,

Please get in contact with [support](https://support.inductiveautomation.com/) so they can assist you with this issue.

---

<div class="post-metadata">

**Author:** ![jose.pablo.arguello](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jose.pablo.arguello](https://forum.inductiveautomation.com/u/jose.pablo.arguello)\
**Post date:** [November 5, 2019, 9:45pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/10 "2019-11-05T21:45:23Z")

</div>

Hi @lrhyrne,  
Did you find a solution to this issue?

---

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [November 6, 2019, 2:01pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/11 "2019-11-06T14:01:27Z")

</div>

Unfortunately, a direct solution was not found. But, we were able to use existing Reporting module to export and email the data to the person who regularly desires it.

---

<div class="post-metadata">

**Author:** ![jose.pablo.arguello](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jose.pablo.arguello](https://forum.inductiveautomation.com/u/jose.pablo.arguello)\
**Post date:** [November 8, 2019, 11:27pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/12 "2019-11-08T23:27:01Z")

</div>

Hi lrhyne

I did this workaround and it worked for me, on excel 2013. I had to add a new button on top of the old one with this scripting.

chart = event.source.parent.getComponent(‘Easy Chart’)  
datasets = chart.exportDatasets()  
component = datasets[0]

spreadsheet = system.dataset.dataSetToExcel(1, [component])

filePath = system.file.saveFile(“Name”+system.tag.read(“today\_string\_date”).value, “xls”," Excel Worksheet(97-2003)")

if filePath:  
system.file.writeFile(filePath, spreadsheet)

---

<div class="post-metadata">

**Author:** ![lrhyrne](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrhyrne/32/12097_2.png) [@lrhyrne](https://forum.inductiveautomation.com/u/lrhyrne)\
**Post date:** [November 11, 2019, 1:09pm UTC](https://forum.inductiveautomation.com/t/easychart-save-button-not-working/28282/13 "2019-11-11T13:09:33Z")

</div>

@jose.pablo.arguello,

Nice work. I’ll give it a whirl on my installation and report back.

Thank YOu,  
Leif
