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)