From eddedf1b43070f1df6cd0f760ce79d48160ea392 Mon Sep 17 00:00:00 2001 From: Etienne Chassaing <60154720+cetiennec@users.noreply.github.com> Date: Wed, 20 Aug 2025 13:53:43 +0200 Subject: [PATCH] Changes Ploop_sp plot location --- static/monitor_PU.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/monitor_PU.html b/static/monitor_PU.html index 1b874af..89e08dc 100644 --- a/static/monitor_PU.html +++ b/static/monitor_PU.html @@ -95,15 +95,15 @@ }, [0, 1, 2, 3, 4, 5], maxPoints); Plotly.extendTraces('pressure-plot-1', - { x: [[t], [t], [t]], y: [[puData.Pro], [puData.Pretentate], [puData.Ploop_sp]] }, - [0, 1, 2], + { x: [[t], [t]], y: [[puData.Pro], [puData.Pretentate]] }, + [0, 1], maxPoints ); Plotly.extendTraces('pressure-plot-2', { - x: [[t]], - y: [[puData.Pdilute]] - }, [0], maxPoints); + x: [[t], [t]], + y: [[puData.Pdilute], [puData.Ploop_sp]] + }, [0, 1], maxPoints); Plotly.extendTraces('conductivity-plot', { x: [[t], [t], [t]], @@ -192,7 +192,6 @@ Plotly.newPlot('pressure-plot-1', [ { x: time0, y: [0], name: 'Pro', mode: 'lines' }, { x: time0, y: [0], name: 'Pretentate', mode: 'lines' }, - { x: time0, y: [0], name: 'Ploop_sp', mode: 'lines', line: { dash: 'dash', color: 'red' } } ], { title: 'Pro and Pretentate', xaxis: { type: 'date' }, @@ -201,6 +200,7 @@ Plotly.newPlot('pressure-plot-2', [ { x: time0, y: [0], name: 'Pdilute', mode: 'lines' } + { x: time0, y: [0], name: 'Ploop_sp', mode: 'lines', line: { dash: 'dash', color: 'red' } } ], { title: 'Pdilute Pressure', xaxis: { type: 'date' }, yaxis: { title: 'Pressure (bar)' } });