Export simple graph as .txt

I have a customer requesting the datapoints on a simple graph. Is there a method of exporting the data as a .txt instead of an excel file?

In scripting we have three functions to export data. They are:system.dataset.exportCSV system.dataset.exportExcel system.dataset.exportHTMLYou can save a CSV export as a .txt if you would like.