TDR Tooltip oberhalb des Punkts positionieren

This commit is contained in:
ISA
2025-03-26 08:00:02 +01:00
parent d98af6483e
commit 0bbc2a25a6
5 changed files with 15 additions and 4 deletions

View File

@@ -133,8 +133,9 @@ const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => {
},
plugins: {
tooltip: {
yAlign: "bottom", // Tooltip oberhalb des Punktes
callbacks: {
title: () => "", // 🚫 Entfernt die erste Zeile mit der Nummer
title: () => "Fehlerstelle", // Kein Titel
label: function (context) {
const rawData = context.raw as { d: number; p: number };