WIP **** WIP
funktioniert nur teilweise: Umschaltung auf en geht seltsamerwesie nicht
This commit is contained in:
@@ -162,9 +162,7 @@ export function calcDays(data, isyear) {
|
||||
};
|
||||
|
||||
export async function addSensorID2chart(chart, sensor, width) {
|
||||
console.log('widht: ',width);
|
||||
let indoor = sensor.indoor || false
|
||||
console.log('indoor: ',indoor)
|
||||
let sens = chart.renderer.label(
|
||||
`Sensor: ${sensor.sid} ${indoor ? ' (indoor)' : ''}`,
|
||||
width / 2 - 100, 65,
|
||||
@@ -184,6 +182,11 @@ export const showError = (err) => {
|
||||
myModal.show()
|
||||
}
|
||||
|
||||
export const showReset = () => {
|
||||
let myModal = new bootstrap.Modal(document.getElementById('dialogReset'))
|
||||
myModal.show()
|
||||
}
|
||||
|
||||
// remove the taps (if shownig the map)
|
||||
export const removeTabs = () => {
|
||||
document.querySelector('#navi').style.display = 'none'
|
||||
|
||||
Reference in New Issue
Block a user