From 4ee9314348db29c42b2d9cdc08f0df7877580fe1 Mon Sep 17 00:00:00 2001 From: Maciej Bodek Date: Fri, 29 Nov 2024 17:34:30 +0100 Subject: [PATCH] sync cursor crosshairs --- .../src/scenes/Editor/Metrics/useGraphOptions.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/web-console/src/scenes/Editor/Metrics/useGraphOptions.ts b/packages/web-console/src/scenes/Editor/Metrics/useGraphOptions.ts index 4a3789a24..4f4d7adf7 100644 --- a/packages/web-console/src/scenes/Editor/Metrics/useGraphOptions.ts +++ b/packages/web-console/src/scenes/Editor/Metrics/useGraphOptions.ts @@ -131,6 +131,13 @@ export const useGraphOptions = ({ ms: 1, padding: [10, 20, 0, 20], + cursor: { + sync: { + key: "metrics", + setSeries: true, + }, + }, + axes: Object.values(axes), series: Object.values(series), scales,