Skip to content

Commit

Permalink
#4 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parMaster committed Nov 29, 2023
1 parent c00b6ba commit e36221d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@
&& data["Modules"]["smc768"]["TC0C"]
&& data["Modules"]["smc768"]["Exhaust"] ) {

// data["Modules"]["smc768"]["Exhaust"] is array of strings, convert it to array of numbers
data["Modules"]["smc768"]["Exhaust"] = data["Modules"]["smc768"]["Exhaust"].map(Number);

var cpu_temp = {
x: data["Dates"],
y: data["Modules"]["smc768"]["TC0C"],
Expand Down

0 comments on commit e36221d

Please sign in to comment.