*** WIP WIP *** woks now for live and havg
This commit is contained in:
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user