diff --git a/webapp/src/components/BarChart.vue b/webapp/src/components/BarChart.vue index 600d71bf..2ba781f8 100644 --- a/webapp/src/components/BarChart.vue +++ b/webapp/src/components/BarChart.vue @@ -60,6 +60,7 @@ export default defineComponent({ .then((energy) => { if (energy) { this.chartData = [[{ type: 'date', id: 'Time' }, { type: 'number', id: 'Energy' }]]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any energy.forEach((x: any[]) => { const d = new Date(x[0] + 2000, x[1] - 1, x[2], x[3]); this.chartData.push([d, Math.round(x[4])])