From a8decc44f777c6bc5c9f898a3f134d20a3b9765c Mon Sep 17 00:00:00 2001 From: Karl-Aksel Puulmann Date: Tue, 1 Dec 2020 15:20:09 +0200 Subject: [PATCH] Show all items at date when hovering a LineGraph This makes it easier to read graphs with multiple lines. Fixes https://github.com/PostHog/posthog/issues/2597 --- frontend/src/scenes/insights/LineGraph.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/scenes/insights/LineGraph.js b/frontend/src/scenes/insights/LineGraph.js index edf883f4184ec..1be00850de5ad 100644 --- a/frontend/src/scenes/insights/LineGraph.js +++ b/frontend/src/scenes/insights/LineGraph.js @@ -188,7 +188,9 @@ export function LineGraph({ enabled: true, intersect: false, mode: 'nearest', + axis: 'x', bodySpacing: 5, + position: 'nearest', yPadding: 10, xPadding: 10, caretPadding: 0,