mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Timeseries: Improve cursor Y sync behavior (#50740)
This commit is contained in:
parent
1bb2d2599c
commit
4e4686001b
@ -77,13 +77,9 @@ Object {
|
||||
"pub": [Function],
|
||||
},
|
||||
"key": "__global_",
|
||||
"match": Array [
|
||||
[Function],
|
||||
[Function],
|
||||
],
|
||||
"scales": Array [
|
||||
"x",
|
||||
null,
|
||||
"__fixed/na-na/na-na/auto/linear/na",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -465,10 +465,8 @@ export const preparePlotConfigBuilder: UPlotConfigPrepFn<{
|
||||
return true;
|
||||
},
|
||||
},
|
||||
// ??? setSeries: syncMode === DashboardCursorSync.Tooltip,
|
||||
//TODO: remove any once https://github.com/leeoniya/uPlot/pull/611 got merged or the typing is fixed
|
||||
scales: [xScaleKey, null as any],
|
||||
match: [() => true, () => true],
|
||||
scales: [xScaleKey, yScaleKey],
|
||||
// match: [() => true, (a, b) => a === b],
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user