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:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "wetterstation-frontend",
|
"name": "wetterstation-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.5.3",
|
"version": "1.5.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -657,6 +657,13 @@ const WeatherDashboard = ({ data, currentData = [], rainData = [], timeRange = '
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
...getCommonOptions(),
|
...getCommonOptions(),
|
||||||
|
legend: {
|
||||||
|
enabled: series.length > 1,
|
||||||
|
align: 'right',
|
||||||
|
verticalAlign: 'top',
|
||||||
|
floating: true,
|
||||||
|
itemStyle: { fontSize: '11px', fontWeight: 'normal' }
|
||||||
|
},
|
||||||
yAxis: {
|
yAxis: {
|
||||||
...getCommonOptions().yAxis,
|
...getCommonOptions().yAxis,
|
||||||
title: { text: null }
|
title: { text: null }
|
||||||
|
|||||||
Reference in New Issue
Block a user