forked from ddrilling/asb_cloud_front
Обрезка числа точек поправлена
This commit is contained in:
parent
274c56dcf7
commit
7a95007f44
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user