TDR Tooltip oberhalb des Punkts positionieren
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user