From 084f4f086a0ae4d36fe06342910950d0e2c52f50 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Fri, 18 Apr 2025 21:11:38 -0500 Subject: [PATCH] restore stock chart to 2.5 --- src/stock_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stock_manager.py b/src/stock_manager.py index 53d0184c..25727f5b 100644 --- a/src/stock_manager.py +++ b/src/stock_manager.py @@ -441,7 +441,7 @@ class StockManager: chart_data = [p['price'] for p in price_history] # Calculate chart dimensions - make it slightly smaller - chart_width = int(width // 3) # Reduced from width//2.5 to width//3 to prevent overlap + chart_width = int(width // 2.5) # Reduced from width//2.5 to width//3 to prevent overlap chart_height = height // 1.5 chart_x = width - chart_width - 10 # Increased right margin to 10 pixels chart_y = (height - chart_height) // 2