Skip to content

Commit 3b71540

Browse files
MSmosBrkr
authored andcommitted
Add chart ticks font option (#1000)
1 parent 7333f7d commit 3b71540

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

blazorbootstrap/Models/Charts/ChartOptions/ChartOptions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,12 @@ private void SetTicksAlignment(TicksAlignment interactionMode) =>
475475
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
476476
public string? Color { get; set; }
477477

478+
/// <summary>
479+
/// Font of ticks
480+
/// </summary>
481+
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
482+
public ChartFont? Font { get; set; } = new();
483+
478484
/// <summary>
479485
/// If <see langword="true" />, show tick labels.
480486
/// </summary>

0 commit comments

Comments
 (0)