From 0db5775e9793c0cf196da39821ee6c1383e33a3c Mon Sep 17 00:00:00 2001 From: maxime Date: Wed, 18 Nov 2026 17:14:38 +0100 Subject: [PATCH] Data: remove the points under a label of the checked families, the curves joined over the holes Co-Authored-By: Claude Opus 5.5 --- app/web/src/pages/Data.jsx | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/app/web/src/pages/Data.jsx b/app/web/src/pages/Data.jsx index 96d9f50..b845c5e 100644 --- a/app/web/src/pages/Data.jsx +++ b/app/web/src/pages/Data.jsx @@ -50,6 +50,7 @@ export default function Data({ selection, choose, analysis, setAnalysis, support const [source, setSource] = useState("detectors"), [families, setFamilies] = useState(DETECTED), [targets, setTargets] = useState(""); const [focus, setFocus] = useState(false); // with an event open, the plots show only its sensors const [hidden, setHidden] = useState([]); // the targets removed from the plots (the detectors still read them) + const [cut, setCut] = useState(false); // the points under a label of the checked families removed, the curves joined const { station, start, end } = selection; useEffect(() => { setData(null); setTargets(""); setHidden([]); @@ -74,7 +75,7 @@ export default function Data({ selection, choose, analysis, setAnalysis, support {loading && } {data &&