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, }, }}