Timeseries: Remove cursor sync when x is not time (#78496)

pull/78567/head
Adela Almasan 2 years ago committed by GitHub
parent 4203a83538
commit 5b851d7410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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,

Loading…
Cancel
Save