From 80622351f8b4d21ffca60485cc200a42fc8f2c6b Mon Sep 17 00:00:00 2001 From: goodmice Date: Fri, 12 Nov 2021 16:24:07 +0500 Subject: [PATCH] =?UTF-8?q?=D0=93=D1=80=D0=B0=D1=84=D0=B8=D0=BA=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BC=D0=BE=D0=BD=D0=B8=D1=82=D0=BE=D1=80=D0=B8=D0=BD?= =?UTF-8?q?=D0=B3=D0=B5=20=D1=81=D0=B4=D0=B2=D0=B8=D0=BD=D1=83=D1=82=20?= =?UTF-8?q?=D0=BD=D0=B0=203%=20=D0=B2=D0=B2=D0=B5=D1=80=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/TelemetryView/MonitoringColumn.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/TelemetryView/MonitoringColumn.jsx b/src/pages/TelemetryView/MonitoringColumn.jsx index 7b1607b..702e42c 100644 --- a/src/pages/TelemetryView/MonitoringColumn.jsx +++ b/src/pages/TelemetryView/MonitoringColumn.jsx @@ -22,7 +22,7 @@ const GetLimitShape = (flowChartData, points, accessor) => { export const MonitoringColumn = ({ lineGroup, data, flowChartData, interval, showBorder, style, headerHeight }) => { const [lineGroupWithoutShapes, setLineGroupWithoutShapes] = useState([]) const dataLast = data?.[data.length - 1] - const yStart = new Date(+(dataLast?.date ? new Date(dataLast.date) : new Date()) - interval * 1000) + const yStart = new Date(+(dataLast?.date ? new Date(dataLast.date) : new Date()) - interval * 1000 * 0.97) const pv = lineGroup.filter(line => line.showLabels).map(line => ({ color: line.color, label: line.label,