diff --git a/MP.Data/MP.Data.csproj b/MP.Data/MP.Data.csproj index 0aa9fefb..1086aa2d 100644 --- a/MP.Data/MP.Data.csproj +++ b/MP.Data/MP.Data.csproj @@ -17,6 +17,7 @@ + diff --git a/MP.INVE/Pages/Invio.razor.cs b/MP.INVE/Pages/Invio.razor.cs index 008165df..4e2bd6ca 100644 --- a/MP.INVE/Pages/Invio.razor.cs +++ b/MP.INVE/Pages/Invio.razor.cs @@ -129,8 +129,8 @@ namespace MP.INVE.Pages mostra = true; } - protected override async Task OnAfterRenderAsync(bool firstRender) - { + protected override async Task OnAfterRenderAsync(bool firstRender) + { await Task.Delay(50); if (firstRender) { diff --git a/MP.INVE/Resources/VersNum.txt b/MP.INVE/Resources/VersNum.txt index ee06ffa8..b1641a8c 100644 --- a/MP.INVE/Resources/VersNum.txt +++ b/MP.INVE/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2306.915 +6.16.2302.2309 diff --git a/MP.Prog/Resources/VersNum.txt b/MP.Prog/Resources/VersNum.txt index ea642194..4bc5312b 100644 --- a/MP.Prog/Resources/VersNum.txt +++ b/MP.Prog/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2304.0419 +6.16.2306.0612 diff --git a/MP.SPEC/Components/Chart/Doughnut.razor b/MP.SPEC/Components/Chart/Doughnut.razor deleted file mode 100644 index 7eddca28..00000000 --- a/MP.SPEC/Components/Chart/Doughnut.razor +++ /dev/null @@ -1 +0,0 @@ - diff --git a/MP.SPEC/Components/Chart/Doughnut.razor.cs b/MP.SPEC/Components/Chart/Doughnut.razor.cs deleted file mode 100644 index db7524d9..00000000 --- a/MP.SPEC/Components/Chart/Doughnut.razor.cs +++ /dev/null @@ -1,59 +0,0 @@ -using Microsoft.AspNetCore.Components; -using Microsoft.JSInterop; -using MP.Data; -using MP.SPEC.Data; -using static System.Net.Mime.MediaTypeNames; - -namespace MP.SPEC.Components.Chart -{ - public partial class Doughnut - { - [Inject] - private IJSRuntime JSRuntime { get; set; } = null!; - - - public enum ChartType - { - Pie, - Bar, - Doughnut - } - - //[Parameter] - public string Id { get; set; } = "myChart"; - - [Parameter] - public ChartType Type { get; set; } - - [Parameter] - public double[] Data { get; set; } = null!; - [Parameter] - public List BackgroundColor { get; set; } = null!; - - [Parameter] - public string[] Labels { get; set; } = null!; - - protected override async Task OnAfterRenderAsync(bool firstRender) - { - var config = new - { - Type = Type.ToString().ToLower(), - Options = new - { - Responsive = true, - }, - Data = new - { - Datasets = new[] - { - new { Data = Data, BackgroundColor = BackgroundColor.Select(x=>x.color), borderColor = BackgroundColor.Select(x=>x.border), borderWidth= 0, offset= 1, borderRadius = 0 - } -}, - Labels = Labels - } - }; - - await JSRuntime.InvokeVoidAsync("setup", Id, config); - } - } -} \ No newline at end of file diff --git a/MP.SPEC/Components/ODLPlot.razor b/MP.SPEC/Components/ODLPlot.razor index ac762f00..a304ea42 100644 --- a/MP.SPEC/Components/ODLPlot.razor +++ b/MP.SPEC/Components/ODLPlot.razor @@ -9,7 +9,7 @@ { @if (Data != null) { - + } } diff --git a/MP.SPEC/Components/ODLPlot.razor.cs b/MP.SPEC/Components/ODLPlot.razor.cs index d14c1fcb..f554545d 100644 --- a/MP.SPEC/Components/ODLPlot.razor.cs +++ b/MP.SPEC/Components/ODLPlot.razor.cs @@ -1,4 +1,5 @@ -using Microsoft.AspNetCore.Components; +using EgwCoreLib.Razor.Data; +using Microsoft.AspNetCore.Components; using MP.Data.DatabaseModels; using MP.SPEC.Data; diff --git a/MP.SPEC/Data/DoughnutStyling.cs b/MP.SPEC/Data/DoughnutStyling.cs deleted file mode 100644 index 54a76b53..00000000 --- a/MP.SPEC/Data/DoughnutStyling.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Drawing; - -namespace MP.SPEC.Data -{ - public class DoughnutStyling - { - public string color { get; set; } - public string border { get; set; } - - public DoughnutStyling(string color, string border) - { - this.color = color; - this.border = border; - } - } -} diff --git a/MP.SPEC/wwwroot/images/LogoEgw.png b/MP.SPEC/wwwroot/images/LogoEgw.png deleted file mode 100644 index 8d5a7c1f..00000000 Binary files a/MP.SPEC/wwwroot/images/LogoEgw.png and /dev/null differ