From 9dda547f9f04e2e45b35d6b0a2eb91fb25587803 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Tue, 4 Mar 2025 11:08:00 +1300 Subject: [PATCH] Prevent curves leaving graph areas --- lib/app_line.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/app_line.dart b/lib/app_line.dart index 70e8ea4..a6ad2c8 100644 --- a/lib/app_line.dart +++ b/lib/app_line.dart @@ -324,6 +324,7 @@ class _AppLineState extends State { LineChartBarData( spots: spots, isCurved: settings.curveLines, + preventCurveOverShooting: true, color: Theme.of(context).colorScheme.primary, barWidth: 3, isStrokeCapRound: true,