*** WIP WIP *** woks now for live and havg

This commit is contained in:
rxf
2023-03-27 09:55:55 +02:00
parent 9acf053b18
commit 1cdf03b064
4 changed files with 43 additions and 239 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
// all function related to the map
import * as dt from './datetime.js'
import * as chart_live from "./chart_live.js";
import * as utils from "./chart_utilities.js";
import * as chart_live from "./chart_live.js"
import * as utils from "./chart_utilities.js"
import { showChart } from './showcharts.js'
let map = null
let bounds
@@ -52,7 +53,7 @@ export const showMap = async (params) => {
params.sid = clickedSensor
let triggerEl = document.querySelector('#livetab')
bootstrap.Tab.getInstance(triggerEl).show() // Select tab by name
await chart_live.showLive(params)
await showChart(params, 'live', 'dlive')
})
})