Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: remove tooltip on chart cleanup (#4044)

Yunus M40090aaf1262
diff --git a/frontend/src/components/Uplot/Uplot.tsx b/frontend/src/components/Uplot/Uplot.tsx
index 7e80d8bda4..84b3d1bb9b 100644
--- a/frontend/src/components/Uplot/Uplot.tsx
+++ b/frontend/src/components/Uplot/Uplot.tsx
@@ -57,6 +57,13 @@ const Uplot = forwardRef<ToggleGraphProps | undefined, UplotProps>(
chart.destroy();
chartRef.current = null;
}
+
+ // remove chart tooltip on cleanup
+ const overlay = document.getElementById('overlay');
+
+ if (overlay) {
+ overlay.style.display = 'none';
+ }
}, []);
const create = useCallback(() => {