diff --git a/BlazorExpress.ChartJS/Models/ChartDataset/DoughnutChart/DoughnutChartDataset.cs b/BlazorExpress.ChartJS/Models/ChartDataset/DoughnutChart/DoughnutChartDataset.cs index 077de46..954dd29 100644 --- a/BlazorExpress.ChartJS/Models/ChartDataset/DoughnutChart/DoughnutChartDataset.cs +++ b/BlazorExpress.ChartJS/Models/ChartDataset/DoughnutChart/DoughnutChartDataset.cs @@ -62,6 +62,7 @@ public class DoughnutChartDataset : ChartDataset /// /// Default value is . /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public List? BorderJoinStyle { get; set; } // TODO: change this to enum /// @@ -70,6 +71,7 @@ public class DoughnutChartDataset : ChartDataset /// /// Default value is 0. /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public List? BorderRadius { get; set; } /// @@ -87,6 +89,7 @@ public class DoughnutChartDataset : ChartDataset /// /// Default value is . /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public double? Circumference { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] @@ -135,6 +138,7 @@ public class DoughnutChartDataset : ChartDataset /// /// Default value is . /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public List? HoverBorderJoinStyle { get; set; } // TODO: change this to enum /// @@ -179,7 +183,6 @@ public class DoughnutChartDataset : ChartDataset /// /// Default value is 0. /// - [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public double Spacing { get; set; } /// @@ -190,7 +193,6 @@ public class DoughnutChartDataset : ChartDataset /// /// Default value is 1. /// - [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public double Weight { get; set; } = 1; #endregion