diff --git a/src/pages/Telemetry/Archive/index.jsx b/src/pages/Telemetry/Archive/index.jsx index 4608520..3e874e2 100755 --- a/src/pages/Telemetry/Archive/index.jsx +++ b/src/pages/Telemetry/Archive/index.jsx @@ -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} />