Skip to content

Commit

Permalink
fix csv header fixing...
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Jul 11, 2024
1 parent f78ad20 commit 8121065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Plotly.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export default {
finaltime = Math.min(finaltime, this.state.timeRange[1])
currentTime = Math.max(currentTime, this.state.timeRange[0])
// replace commas with semicolons so csv headers dont break, check #412
const csv = [header.replace(',', ';')]
const csv = [header.map(e => e.replace(',', ';'))]
while (currentTime < finaltime - interval) {
const line = [currentTime]
for (const series in data) {
Expand Down

0 comments on commit 8121065

Please sign in to comment.