# Export dataset to XLS filetype from Time Series Chart

**URL:** <https://forum.inductiveautomation.com/t/export-dataset-to-xls-filetype-from-time-series-chart/49539>\
**Category:** Ignition\
**Created:** [August 4, 2021, 9:22am UTC](https://forum.inductiveautomation.com/t/export-dataset-to-xls-filetype-from-time-series-chart/49539 "2021-08-04T09:22:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tohhy-pm17](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tohhy-pm17](https://forum.inductiveautomation.com/u/tohhy-pm17)\
**Post date:** [August 11, 2021, 6:59am UTC](https://forum.inductiveautomation.com/t/export-dataset-to-xls-filetype-from-time-series-chart/49539/6 "2021-08-11T06:59:03Z")

</div>

Hi, @JordanCClark I had tried by following the thread you provided but I still facing some problems which I could not get the dataset from the Time Series Chart as the image shown below.

 ![Dataset](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0c80e23450f10458f583bfd9b9c1fe82fdf26a6f.png)

The thread that you provided is hard code the dataset inside the script. In my case, I would like to get the dataset from Time Series Chart like the image above. May I know how can I do that ?  
Image below show the hard code of the data set in the script.

 ![code](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/b/1b7d9750587ca56f1baf89a03a9878d9a21956a0.png)

[https://forum.inductiveautomation.com/t/exportdatasets-for-the-easy-chart-component/9618](https://forum.inductiveautomation.com/t/exportdatasets-for-the-easy-chart-component/9618)

Link above is the exportDatasets() for the easy chart component. May I know did you try these before because I could not found this code in the Ignition documentation.

Thanks in advance.

---

_[View the full topic](https://forum.inductiveautomation.com/t/export-dataset-to-xls-filetype-from-time-series-chart/49539)._
