forked from ddrilling/asb_cloud_front
Изменён рендер архива
This commit is contained in:
parent
d5554507f3
commit
d415dbedc2
@ -1,6 +1,7 @@
|
||||
/* eslint-disable react-hooks/exhaustive-deps */
|
||||
import { useState, useEffect, memo, useCallback, useMemo } from 'react'
|
||||
import { useSearchParams } from 'react-router-dom'
|
||||
import { Select } from 'antd'
|
||||
|
||||
import { useIdWell } from '@asb/context'
|
||||
import { Flex } from '@components/Grid'
|
||||
@ -14,7 +15,7 @@ import { formatDate, range, wrapPrivateComponent } from '@utils'
|
||||
import { TelemetryDataSaubService } from '@api'
|
||||
|
||||
import { chartGroups, normalizeData } from '../TelemetryView'
|
||||
import { Select } from 'antd'
|
||||
import cursorRender from '../TelemetryView/cursorRender'
|
||||
|
||||
const DATA_COUNT = 2048 // Колличество точек на подгрузку графика
|
||||
const ADDITIVE_PAGES = 2 // Дополнительные данные для графиков
|
||||
@ -248,7 +249,13 @@ const Archive = memo(() => {
|
||||
visible: true,
|
||||
format: (d) => formatDate(d)
|
||||
}}
|
||||
plugins={{ menu: { enabled: false }}}
|
||||
plugins={{
|
||||
menu: { enabled: false },
|
||||
cursor: {
|
||||
width: 200,
|
||||
render: cursorRender,
|
||||
}
|
||||
}}
|
||||
height={'76vh'}
|
||||
onWheel={onGraphWheel}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user