Update display pareto PieChart

This commit is contained in:
Samuele Locatelli
2026-04-16 16:04:39 +02:00
parent a4c9419180
commit 5885d88aff
6 changed files with 28 additions and 6 deletions
+7 -2
View File
@@ -64,12 +64,17 @@ namespace MP.IOC.Components.Pages
private List<double> DatiPareto
{
get => currData.Select(x => x.Value).ToList();
get => currData.Where(x => x.Value > 10).OrderByDescending(x => x.Value).Take(ParetoTake).Select(x => x.Value).ToList();
}
private List<string> LabelPareto
{
get => currData.Select(x => x.Label).ToList();
get => currData.Where(x => x.Value > 10).OrderByDescending(x => x.Value).Take(ParetoTake).Select(x => x.Label).ToList();
}
private int ParetoTake
{
get => currData.Count() <= 30 ? currData.Count() : 30;
}
private List<string> LabelPlot
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>6.16.2604.1615</Version>
<Version>6.16.2604.1616</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MP-IOC </i>
<h4>Versione: 6.16.2604.1615</h4>
<h4>Versione: 6.16.2604.1616</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2604.1615
6.16.2604.1616
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2604.1615</version>
<version>6.16.2604.1616</version>
<url>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
+17
View File
@@ -5,6 +5,23 @@
"Microsoft.AspNetCore": "Warning"
}
},
"ReverseProxy": {
"Routes": [
{
"RouteId": "route-man-r-iob",
"ClusterId": "cluster-placeholder",
"Match": { "Path": "/api/RIOB/{**catch-all}" }
}
],
"Clusters": {
"cluster-old": {
"Destinations": { "old1": { "Address": "https://iis01.egalware.com/MP/IO/IOB/" } }
},
"cluster-new": {
"Destinations": { "new1": { "Address": "https://iis01.egalware.com/MP/IOC/api/IOB/" } }
}
}
},
"AllowedHosts": "*",
"CodApp": "MP.IOC",
"ConnectionStrings": {