From 0843df69290815ee08844cea73cb3996a521c74b Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 13 Jan 2025 18:07:10 +0100 Subject: [PATCH] Aggiunta gestione bordo parametrico --- EgwCoreLib.BlazorTest/Pages/TestChart.razor | 4 ++-- EgwCoreLib.Razor/Doughnut.razor | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/EgwCoreLib.BlazorTest/Pages/TestChart.razor b/EgwCoreLib.BlazorTest/Pages/TestChart.razor index 7e9867e..4ab104c 100644 --- a/EgwCoreLib.BlazorTest/Pages/TestChart.razor +++ b/EgwCoreLib.BlazorTest/Pages/TestChart.razor @@ -44,13 +44,13 @@
- +
display con animazione
- +
display con animazione
diff --git a/EgwCoreLib.Razor/Doughnut.razor b/EgwCoreLib.Razor/Doughnut.razor index dd282be..0ad93e5 100644 --- a/EgwCoreLib.Razor/Doughnut.razor +++ b/EgwCoreLib.Razor/Doughnut.razor @@ -31,7 +31,9 @@ public string[] Labels { get; set; } = null!; private IJSObjectReference module { get; set; } = null!; - + + [Parameter] + public int BordWidth { get; set; } = 0; [Parameter] public bool AddSlash { get; set; } = false; @@ -63,7 +65,7 @@ Data = Data, BackgroundColor = BackgroundColor.Select(x=>x.color), BorderColor = BackgroundColor.Select(x=>x.border), - BorderWidth = 1, + BorderWidth = BordWidth, offset= 1, borderRadius = 0 }