+ {hoveredPt ? (
+
+
+ {hoveredPt.title} —{' '}
+ {new Date(hoveredPt.date).toLocaleDateString('fr-FR', {
+ day: 'numeric',
+ month: 'short',
+ year: 'numeric',
+ })}
+ {hoveredPt.sessionId === currentSessionId && (
+
+ actuelle
+
+ )}
+
+ {INDICATORS.map((ind) => {
+ const score = hoveredPt[ind.key];
+ return (
+
+ {ind.icon}{' '}
+ {score !== null ? (
+ {score.toFixed(1)}
+ ) : (
+ —
+ )}
+
+ );
+ })}
+
+ ) : (
+
Survolez le graphe pour voir les détails
+ )}
+