Open dpfernandes opened 4 years ago
When I on the Detail Chart Page, I want to be able to download the data from the Chart into a CSV by clicking on the button EXPORT DATA
The chart uses this endpoint to be populated https://github.com/HackYourFuture-CPH/FP-class11/pull/150 so you should use the same.
Please get some inspiration from this article. https://medium.com/@danny.pule/export-json-to-csv-file-using-javascript-a0b7bc5b00d2
When I on the Detail Chart Page, I want to be able to download the data from the Chart into a CSV by clicking on the button EXPORT DATA
The chart uses this endpoint to be populated https://github.com/HackYourFuture-CPH/FP-class11/pull/150 so you should use the same.
Please get some inspiration from this article. https://medium.com/@danny.pule/export-json-to-csv-file-using-javascript-a0b7bc5b00d2