Spaces:
Running
Running
File size: 743 Bytes
917b070 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | namespace TaskTrackingSystem.WebApp.Components.Shared.Charts;
public sealed record ChartDataPoint(string Label, double Value, string Color = "#7c3aed");
public sealed record BarChartGroup(string Label, IReadOnlyList<ChartDataPoint> Bars, string? Detail = null);
public sealed record LineChartPoint(string Label, double Value, string? Detail = null);
public sealed record ProgressListChartItem(
string Label,
double Value,
string ValueLabel,
string Color = "#7c3aed",
string? Detail = null,
string? LeadingText = null);
public sealed record TimelineChartItem(
string Label,
DateTime StartDate,
DateTime EndDate,
double CompletionPercentage,
string Color = "#7c3aed",
string? Detail = null);
|