Skip to content

Commit

Permalink
DoughnutChartDataset update
Browse files Browse the repository at this point in the history
  • Loading branch information
gvreddy04 committed Jun 22, 2024
1 parent b27a3b4 commit 0fd99d1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public class DoughnutChartDataset : ChartDataset
/// <remarks>
/// Default value is <see langword="null"/>.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? BorderJoinStyle { get; set; } // TODO: change this to enum

/// <summary>
Expand All @@ -70,6 +71,7 @@ public class DoughnutChartDataset : ChartDataset
/// <remarks>
/// Default value is 0.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<double>? BorderRadius { get; set; }

/// <summary>
Expand All @@ -87,6 +89,7 @@ public class DoughnutChartDataset : ChartDataset
/// <remarks>
/// Default value is <see langword="null"/>.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? Circumference { get; set; }

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
Expand Down Expand Up @@ -135,6 +138,7 @@ public class DoughnutChartDataset : ChartDataset
/// <remarks>
/// Default value is <see langword="null"/>.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? HoverBorderJoinStyle { get; set; } // TODO: change this to enum

/// <summary>
Expand Down Expand Up @@ -179,7 +183,6 @@ public class DoughnutChartDataset : ChartDataset
/// <remarks>
/// Default value is 0.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double Spacing { get; set; }

/// <summary>
Expand All @@ -190,7 +193,6 @@ public class DoughnutChartDataset : ChartDataset
/// <remarks>
/// Default value is 1.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double Weight { get; set; } = 1;

#endregion
Expand Down

0 comments on commit 0fd99d1

Please sign in to comment.