Skip to content
Snippets Groups Projects
Commit fa96d352 authored by User expired's avatar User expired
Browse files

adding dowload functionality

parent e96c48c7
No related branches found
No related tags found
3 merge requests!25Draft: Resolve #78,!7fixUrlPath,!4merge dev into main
...@@ -216,7 +216,7 @@ export class ProViewComponent { ...@@ -216,7 +216,7 @@ export class ProViewComponent {
} }
downloadCSV4() { downloadCSV4() {
// Use the first timestamp in each array of sensorDataArray as the timestamp for each row // Use the first timestamp in each array of sensorDataArray as the timestamp for each rowss
let csvData:any[]=[[]] let csvData:any[]=[[]]
csvData.push() csvData.push()
const timestamps = this.sensorDataArray.at(1)?.map(data => data.timestamp?? '')??[]; const timestamps = this.sensorDataArray.at(1)?.map(data => data.timestamp?? '')??[];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment