From 6d962a89e3763d3f303215c2c1bbf93acd475d48 Mon Sep 17 00:00:00 2001 From: goodmice Date: Mon, 15 Nov 2021 10:57:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20pointCount=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB?= =?UTF-8?q?=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=B8=D0=B7=20components/charts/Column?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/Column.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/charts/Column.jsx b/src/components/charts/Column.jsx index 0a7eea5..5ede01c 100644 --- a/src/components/charts/Column.jsx +++ b/src/components/charts/Column.jsx @@ -47,8 +47,6 @@ export const GetOrCreateDatasetByLineConfig = (data, lineConfig) => { export const Column = React.memo(({ lineGroup, data, postParsing, interval, yDisplay, yStart, pointCount, savePreviousData }) => { const [dataParams, setDataParams] = useState({data: {datasets:[]}, yStart, }) - if (!pointCount || !Number.isInteger(pointCount)) - pointCount = 2048 useEffect(()=>{ if((lineGroup.length === 0) || (data.length === 0)) return