Browse Source

various changes

master
o.moresis 9 months ago
parent
commit
c86509b5d7
  1. 2
      public/js/more-info.js

2
public/js/more-info.js

@ -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',

Loading…
Cancel
Save