From 7a95007f448bc4701a87283f9e92b911e838c904 Mon Sep 17 00:00:00 2001 From: goodmice Date: Fri, 12 Nov 2021 16:00:57 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B5=D0=B7=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=87=D0=B8=D1=81=D0=BB=D0=B0=20=D1=82=D0=BE=D1=87=D0=B5=D0=BA?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/Column.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/charts/Column.jsx b/src/components/charts/Column.jsx index a278b7e..4be6328 100644 --- a/src/components/charts/Column.jsx +++ b/src/components/charts/Column.jsx @@ -67,7 +67,7 @@ export const Column = ({ lineGroup, data, postParsing, interval, yDisplay, yStar if(points?.length > 2) points.sort((a,b) => a.y > b.y ? 1 : -1) if(points.length > pointCount) - points.splice(0, (pointCount - points.length)) + points.splice(0, points.length - pointCount) dataset.data = points })