From 547baa62890f6611bd4bd225dec3f75cb4cbabf8 Mon Sep 17 00:00:00 2001 From: goodmice Date: Tue, 19 Jul 2022 10:43:02 +0500 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=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B2=20=D1=80=D0=B5=D0=BD=D0=B4=D0=B5=D1=80=D0=B5=20=D1=82?= =?UTF-8?q?=D1=83=D0=BB=D1=82=D0=B8=D0=BF=D0=B0=20=D0=BC=D0=BE=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Telemetry/TelemetryView/cursorRender.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Telemetry/TelemetryView/cursorRender.jsx b/src/pages/Telemetry/TelemetryView/cursorRender.jsx index d788a02..7f7245b 100644 --- a/src/pages/Telemetry/TelemetryView/cursorRender.jsx +++ b/src/pages/Telemetry/TelemetryView/cursorRender.jsx @@ -14,7 +14,7 @@ export const cursorRender = (group, data) => { if (group.charts.length <= 0) return <> const firstChart = group.charts[0] const y = firstChart.y(d) - const yValue = firstChart.yAxis.format?.(y) ?? defaultValueRender(y, chart.yAxis.unit) + const yValue = firstChart.yAxis.format?.(y) ?? defaultValueRender(y, firstChart.yAxis.unit) const xFormat = (chart) => { const v = chart.x(d) return chart.xAxis.format?.(v) ?? defaultValueRender(v, chart.xAxis.unit)