From e0541ff80c3faf3016c04e820eecdca38febaa47 Mon Sep 17 00:00:00 2001 From: pjpatil12 Date: Wed, 14 Jan 2026 11:12:40 +0530 Subject: [PATCH] comment on html page --- app/routes/dashboard.py | 3 ++- app/templates/dashboard.html | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/routes/dashboard.py b/app/routes/dashboard.py index a7e92ec..3aebc4c 100644 --- a/app/routes/dashboard.py +++ b/app/routes/dashboard.py @@ -27,12 +27,13 @@ def bar_chart(): plt.xlabel("Category") plt.ylabel("Count") + return plot_to_base64() # Pie chart def pie_chart(): labels = ["Completed", "In Progress", "Pending"] - sizes = [65, 20, 15] + sizes = [55, 20, 25] plt.figure() plt.pie(sizes, labels=labels, autopct="%1.1f%%", startangle=140) diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index f9ab350..cdfa26e 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -4,11 +4,12 @@
-

Dashboard

+

Comparison Software Solapur(UGD)

+
@@ -18,6 +19,7 @@
+
@@ -27,6 +29,7 @@
+