Grafik 2 spaltig auch bein iFrame

Übertragen nach sternwarte funktioniert
This commit is contained in:
rxf
2026-02-08 15:37:44 +01:00
parent 9c5f985cab
commit 4b0ac3a652
9 changed files with 502 additions and 96 deletions

View File

@@ -93,7 +93,7 @@ const WeatherDashboard = ({ data }) => {
data: sortedData.map(item => item.temperature),
borderColor: 'rgb(255, 99, 132)',
backgroundColor: 'rgba(255, 99, 132, 0.1)',
fill: true,
fill: 'start',
tension: 0.4,
}
]
@@ -254,9 +254,11 @@ const WeatherDashboard = ({ data }) => {
label: 'Windrichtung (°)',
data: sortedData.map(item => item.wind_dir),
borderColor: 'rgb(255, 205, 86)',
backgroundColor: 'rgba(255, 205, 86, 0.1)',
fill: true,
tension: 0,
backgroundColor: 'rgb(255, 205, 86)',
pointRadius: 4,
pointHoverRadius: 6,
showLine: false,
fill: false,
}
]
}