Skip to content

Commit

Permalink
Make ChartTrendlineData Color nullable (#4698)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki authored Mar 25, 2023
1 parent 7786410 commit 3c25bfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ChartTrendlineData
/// The colour of the trendline
/// </summary>
[JsonIgnore( Condition = JsonIgnoreCondition.WhenWritingNull )]
public ChartColor Color { get; set; } = ChartColor.FromRgba( 100, 0, 0, 1 );
public ChartColor? Color { get; set; } = ChartColor.FromRgba( 100, 0, 0, 1 );

/// <summary>
/// Can be "solid" or "dotted"
Expand Down

0 comments on commit 3c25bfa

Please sign in to comment.