Compare commits

...

2 Commits

Author SHA1 Message Date
4b23ec76f2 . 2024-10-02 19:39:58 +04:00
25627c6bcd некие сомнения на счет библиотеки... 2024-10-02 19:39:24 +04:00

View File

@ -1,16 +1,12 @@
using FormLibrary.HelperClasses;
using MigraDoc.DocumentObjectModel;
using MigraDoc.DocumentObjectModel.Shapes;
using MigraDoc.DocumentObjectModel.Shapes.Charts;
using MigraDoc.Rendering;
using OxyPlot.Series;
using OxyPlot;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using OxyPlot.WindowsForms;
using OxyPlot.Legends;
using OxyPlot.Annotations;
namespace FormLibrary
{
@ -29,7 +25,6 @@ namespace FormLibrary
}
public void CreateHistogramPdf(string filePath, string documentTitle, string chartTitle, LegendPositions legendPosition, List<ChartData> chartData)
{
// Проверка входных данных...
if (string.IsNullOrEmpty(filePath))
throw new ArgumentException("Путь к файлу не может быть пустым.");
if (string.IsNullOrEmpty(documentTitle))