Grafik 2 spaltig auch bein iFrame
Übertragen nach sternwarte funktioniert
This commit is contained in:
@@ -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,
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user