git commit -m "Entferne Modulnummer und Icon aus Tooltip im TDR-Chart"

This commit is contained in:
ISA
2025-03-20 15:18:21 +01:00
parent 75529f030e
commit d5cf14ef87
3 changed files with 9 additions and 22 deletions

View File

@@ -72,6 +72,13 @@ const TDRChart: React.FC<{ isFullScreen: boolean }> = ({ isFullScreen }) => {
},
},
plugins: {
tooltip: {
callbacks: {
label: function (context) {
return `${context.raw.m.toFixed(0)}`; // Nur den Wert anzeigen, ohne Icon und Modulnummer
},
},
},
zoom: {
pan: {
enabled: true,