From 5b851d7410592030dfb77f43554e89b327ce856b Mon Sep 17 00:00:00 2001 From: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:23:16 -0600 Subject: [PATCH] Timeseries: Remove cursor sync when x is not time (#78496) --- public/app/core/components/TimeSeries/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/TimeSeries/utils.ts b/public/app/core/components/TimeSeries/utils.ts index 36da06299da..ea063cd2125 100644 --- a/public/app/core/components/TimeSeries/utils.ts +++ b/public/app/core/components/TimeSeries/utils.ts @@ -609,7 +609,7 @@ export const preparePlotConfigBuilder: UPlotConfigPrepFn<{ }, }; - if (sync && sync() !== DashboardCursorSync.Off) { + if (sync && sync() !== DashboardCursorSync.Off && xField.type === FieldType.time) { const payload: DataHoverPayload = { point: { [xScaleKey]: null,