forked from ddrilling/asb_cloud_front
Значение pointCount по умолчанию удалено из components/charts/Column
This commit is contained in:
parent
e553c4c67f
commit
6d962a89e3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user