V 1.5.4 Regen-Chart: interaktive Legende zum Ein-/Ausschalten der Linien

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 13:10:44 +02:00
parent ebcca2c7d8
commit 795835043a
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "wetterstation-frontend",
"private": true,
"version": "1.5.3",
"version": "1.5.4",
"type": "module",
"scripts": {
"dev": "vite",
@@ -657,6 +657,13 @@ const WeatherDashboard = ({ data, currentData = [], rainData = [], timeRange = '
return {
...getCommonOptions(),
legend: {
enabled: series.length > 1,
align: 'right',
verticalAlign: 'top',
floating: true,
itemStyle: { fontSize: '11px', fontWeight: 'normal' }
},
yAxis: {
...getCommonOptions().yAxis,
title: { text: null }