From a4f5930dc7927c9d50a8b16fdc4f56da8a47bc1a Mon Sep 17 00:00:00 2001 From: kirkorovka <147087189+kirkorovka@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:42:52 +0400 Subject: [PATCH] Lab4 --- ProjectGasStation/ProjectGasStation/Reports/ChartReport.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ProjectGasStation/ProjectGasStation/Reports/ChartReport.cs b/ProjectGasStation/ProjectGasStation/Reports/ChartReport.cs index 7c536d3..6386fe0 100644 --- a/ProjectGasStation/ProjectGasStation/Reports/ChartReport.cs +++ b/ProjectGasStation/ProjectGasStation/Reports/ChartReport.cs @@ -24,7 +24,8 @@ internal class ChartReport { new PdfBuilder(filePath) .AddHeader("Количество продаж каждого работника") - .AddPieChart("Работники", GetData(dateTime)) + .AddPieChart($"Продано на {dateTime:dd MMMM yyyy}", GetData(dateTime)) + .Build(); return true; }