|
|
@ -131,7 +131,7 @@ function moreInfo() { |
|
|
|
let chartData = {}; |
|
|
|
let chartData = {}; |
|
|
|
// const labels = data.map(item => new Date(item.dt.replaceAll(/[T-Z]/g, ' ').trim()));
|
|
|
|
// const labels = data.map(item => new Date(item.dt.replaceAll(/[T-Z]/g, ' ').trim()));
|
|
|
|
const values = data.map(item => {return {x: item.dt, y: item.val}}); |
|
|
|
const values = data.map(item => {return {x: item.dt, y: item.val}}); |
|
|
|
console.debug(values); |
|
|
|
console.debug("poseidon values: ", values); |
|
|
|
chartData = { |
|
|
|
chartData = { |
|
|
|
datasets: [{ |
|
|
|
datasets: [{ |
|
|
|
label: 'Pressure', |
|
|
|
label: 'Pressure', |
|
|
|