diff --git a/static/monitor.html b/static/monitor.html index d44f83f..5e15a9e 100644 --- a/static/monitor.html +++ b/static/monitor.html @@ -49,6 +49,7 @@
+
@@ -93,6 +94,12 @@ y: [[puData.Pdilute]] }, [0], maxPoints); + Plotly.extendTraces('conductivity-plot', { + x: [[t], [t], [t]], + y: [[puData.Cfeed], [puData.Cperm], [puData.Cdilute]] + }, [0, 1, 2], maxPoints); + + Plotly.extendTraces('MV02_sp-plot', { x: [[t], [t]], y: [[puData.MV02_sp], [puData.MV02]] @@ -172,6 +179,17 @@ title: 'Pdilute Pressure', xaxis: { type: 'date' }, yaxis: { title: 'Pressure (bar)' } }); + Plotly.newPlot('conductivity-plot', [ + { x: time0, y: [0], name: 'Cfeed', mode: 'lines' }, + { x: time0, y: [0], name: 'Cperm', mode: 'lines' }, + { x: time0, y: [0], name: 'Cdilute', mode: 'lines' } + ], { + title: 'Conductivity Measurements', + xaxis: { type: 'date' }, + yaxis: { title: 'Conductivity (µS/cm)' } + }); + + Plotly.newPlot('MV02_sp-plot', [ { x: time0, y: [0], name: 'MV02_sp', mode: 'lines' }, { x: time0, y: [0], name: 'MV02', mode: 'lines' }