From 5943c37473af64fa57df59740956fb767f20378b Mon Sep 17 00:00:00 2001 From: Marite Guerrieri Date: Thu, 23 Jan 2025 11:43:46 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20displaced=20parameter=20tocur?= =?UTF-8?q?ves=20chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.md | 3 +++ frontend/src/pages/ProductionPage/ChartProductionData.jsx | 1 + package.json | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 713f78e..5e05cb7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Change log +## unreleased +- Add Displaced paramter to curves chart + ## 1.2.2 (2025-01-16) - Fix displaced 1 hour in curves chart diff --git a/frontend/src/pages/ProductionPage/ChartProductionData.jsx b/frontend/src/pages/ProductionPage/ChartProductionData.jsx index b8ee5e3..c42cf3f 100644 --- a/frontend/src/pages/ProductionPage/ChartProductionData.jsx +++ b/frontend/src/pages/ProductionPage/ChartProductionData.jsx @@ -363,6 +363,7 @@ const ChartProductionData = () => { legend={true} type={line ? LINE : BAR} lang={i18n?.language} + displaced={true} compareData={showForeseen ? compareData : []} /> diff --git a/package.json b/package.json index bc2ecbd..30cf54f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@mui/material": "^5.14.6", "@mui/x-date-pickers": "^6.19.3", "@prettier/plugin-xml": "^3.2.2", - "@somenergia/somenergia-ui": "^0.5.1", + "@somenergia/somenergia-ui": "^0.5.2", "axios": "^1.5.1", "dayjs": "^1.11.10", "i18next": "^23.4.5",