Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(experiments): make interval bar delta marker clickable (#95233)

Juraj Majerik0100a5b968d8
diff --git a/frontend/src/scenes/experiments/MetricsView/new/ChartCell.tsx b/frontend/src/scenes/experiments/MetricsView/new/ChartCell.tsx
index 7df782058f6a..63c38e29b943 100644
--- a/frontend/src/scenes/experiments/MetricsView/new/ChartCell.tsx
+++ b/frontend/src/scenes/experiments/MetricsView/new/ChartCell.tsx
@@ -213,6 +213,12 @@ export function ChartCell({
stroke={colors.BAR_MIDDLE_POINT}
strokeWidth={2}
shapeRendering="crispEdges"
+ style={{
+ cursor: isClickable ? 'pointer' : 'default',
+ }}
+ onClick={onTimeseriesClick}
+ onMouseEnter={isClickable ? () => setIsHovered(true) : undefined}
+ onMouseLeave={isClickable ? () => setIsHovered(false) : undefined}
/>
</>
)}