Skip to content

Commit

Permalink
fix: Default line width (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Feb 27, 2024
1 parent 9bb2595 commit 08d3e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Client/src/app/chart/chart.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface IndicatorResultConfig {
dataType: string;
lineType: string;
stack: string,
lineWidth: number;
lineWidth: number | null;
defaultColor: string;
fill: ChartFill;
order: number
Expand Down
4 changes: 2 additions & 2 deletions Server/WebApi/Services/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public record class IndicatorResultConfig
public required string DataName { get; init; }
public required string DataType { get; init; }
public required string LineType { get; init; }
public string? Stack { get; init; }
public float? LineWidth { get; set; }
public string? Stack { get; set; } = null;
public float LineWidth { get; set; } = 2;
public required string DefaultColor { get; init; }
public ChartFill? Fill { get; set; }

Expand Down

0 comments on commit 08d3e60

Please sign in to comment.