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],
|
"pub": [Function],
|
||||||
},
|
},
|
||||||
"key": "__global_",
|
"key": "__global_",
|
||||||
"match": Array [
|
|
||||||
[Function],
|
|
||||||
[Function],
|
|
||||||
],
|
|
||||||
"scales": Array [
|
"scales": Array [
|
||||||
"x",
|
"x",
|
||||||
null,
|
"__fixed/na-na/na-na/auto/linear/na",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -465,10 +465,8 @@ export const preparePlotConfigBuilder: UPlotConfigPrepFn<{
|
|||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// ??? setSeries: syncMode === DashboardCursorSync.Tooltip,
|
scales: [xScaleKey, yScaleKey],
|
||||||
//TODO: remove any once https://github.com/leeoniya/uPlot/pull/611 got merged or the typing is fixed
|
// match: [() => true, (a, b) => a === b],
|
||||||
scales: [xScaleKey, null as any],
|
|
||||||
match: [() => true, () => true],
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user