Removed dead code

This commit is contained in:
2025-07-13 00:21:37 +02:00
parent 5780155954
commit 97da4cadff

View File

@@ -98,18 +98,7 @@ class _GraphViewState extends State<GraphView> {
// The jitter is centered around zero by subtracting playerCount ~/ 2 from the player index i.
: cumulativeScores[i][j - 1] + (i - playerCount ~/ 2) * jitterStep
),
); /*List.generate(
cumulativeScores[i].length,
(j) => (
j,
j == 0
? 0 // In Runde 0 immer 0 Punkte
:
// Add a small jitter to the cumulative scores to prevent overlapping data points in the graph.
// The jitter is centered around zero by subtracting playerCount ~/ 2 from the player index i.
cumulativeScores[i][j] + (i - playerCount ~/ 2) * jitterStep
),
);*/
);
/// Create a LineSeries for the player
/// The xValueMapper maps the round number, and the yValueMapper maps the cumulative score.