From d792f75861f8dd37e4479ed792618bc4a74d86eb Mon Sep 17 00:00:00 2001 From: ts_salikhov Date: Tue, 6 Sep 2022 19:39:26 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=88=D0=B8=D1=80=D0=B8=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=B2=D1=81=D0=BF=D0=BB=D1=8B=D0=B2=D0=B0=D1=8E=D1=89=D0=B5?= =?UTF-8?q?=D0=B9=20=D0=BF=D0=BE=D0=B4=D1=81=D0=BA=D0=B0=D0=B7=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=B3=D1=80=D0=B0=D1=84=D0=B8=D0=BA=D0=B5=20?= =?UTF-8?q?=D0=A2=D0=B5=D0=BB=D0=B5=D0=BC=D0=B5=D1=82=D1=80=D0=B8=D1=8F=20?= =?UTF-8?q?-=20=D0=9C=D0=BE=D0=BD=D0=B8=D1=82=D0=BE=D1=80=D0=B8=D0=BD?= =?UTF-8?q?=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/d3/monitoring/D3HorizontalCursor.tsx | 3 ++- src/pages/Telemetry/Archive/index.jsx | 1 - src/pages/Telemetry/TelemetryView/index.jsx | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/d3/monitoring/D3HorizontalCursor.tsx b/src/components/d3/monitoring/D3HorizontalCursor.tsx index afae24c..70ff1c3 100644 --- a/src/components/d3/monitoring/D3HorizontalCursor.tsx +++ b/src/components/d3/monitoring/D3HorizontalCursor.tsx @@ -13,7 +13,7 @@ import '@styles/d3.less' type D3GroupRenderFunction = (group: ChartGroup, data: DataType[]) => ReactNode export type D3HorizontalCursorSettings = { - spaceBetweenGroups?: number + width?: number height?: number render?: D3GroupRenderFunction position?: D3TooltipPosition @@ -28,6 +28,7 @@ export type D3HorizontalCursorProps = D3HorizontalCursorSettings + spaceBetweenGroups?: number } const defaultLineStyle: SVGProps = { diff --git a/src/pages/Telemetry/Archive/index.jsx b/src/pages/Telemetry/Archive/index.jsx index 4f27bcc..7a0d65e 100755 --- a/src/pages/Telemetry/Archive/index.jsx +++ b/src/pages/Telemetry/Archive/index.jsx @@ -255,7 +255,6 @@ const Archive = memo(() => { plugins={{ menu: { enabled: false }, cursor: { - width: 230, render: cursorRender, } }} diff --git a/src/pages/Telemetry/TelemetryView/index.jsx b/src/pages/Telemetry/TelemetryView/index.jsx index bb9b144..9a03fba 100755 --- a/src/pages/Telemetry/TelemetryView/index.jsx +++ b/src/pages/Telemetry/TelemetryView/index.jsx @@ -295,7 +295,6 @@ const TelemetryView = memo(() => { plugins={{ menu: { enabled: false }, cursor: { - width: 230, render: cursorRender, }, }}