сдал 2 лабу

This commit is contained in:
Kirill 2024-11-18 10:40:40 +04:00
parent e43bb439a2
commit 1369c9a590
4 changed files with 6 additions and 6 deletions

View File

@ -197,17 +197,17 @@ namespace WinFormsApp1
{ {
FileName = filePath, FileName = filePath,
Title = "Title", Title = "Title",
ChartTitle = "OS 2024", ChartTitle = "Brousers",
LegendLocation = MyUserControls.Components.office_package.HelperEnums.PdfDiagramLegendLocation.Bottom, LegendLocation = MyUserControls.Components.office_package.HelperEnums.PdfDiagramLegendLocation.Bottom,
Series = new MyUserControls.Components.office_package.HelperModels.PdfDiagramSeries Series = new MyUserControls.Components.office_package.HelperModels.PdfDiagramSeries
{ {
SeriesName = "DesctopOperatingSystemAugust2024", SeriesName = "Brousers",
Data = new Dictionary<string, double> Data = new Dictionary<string, double>
{ {
{ "Windows", 71.5 }, { "Chrome", 71.5 },
{ "OS X", 15.5 }, { "Firefox", 15.5 },
{ "Linux", 4.5 }, { "Edge", 4.5 },
{ "Others", 8.5 }, { "Yandex", 8.5 },
} }
} }
}); });