Skip to content

ChartBar

Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

One bar of a BarChart.

public sealed record ChartBar(string Label, double Value, ChartColor Color = Primary)

Parameters

  • Label: The text under the bar (“25 %”).
  • Value: The bar’s value.
  • Color: The colour role (e.g. Error for a failed step).
ChartColor Color { get; init; }

The colour role (e.g. Error for a failed step).

string Label { get; init; }

The text under the bar (“25 %”).

double Value { get; init; }

The bar’s value.