mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Timeseries: Remove cursor sync when x is not time (#78496)
This commit is contained in:
@@ -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 = {
|
const payload: DataHoverPayload = {
|
||||||
point: {
|
point: {
|
||||||
[xScaleKey]: null,
|
[xScaleKey]: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user