Skip to content

ChartSeries

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

One line of a LineChart: one value per LineChart.Step, NaN = no value (a gap).

public sealed record ChartSeries(string Name, IReadOnlyList<double> Values, ChartColor Color = Primary)

Parameters

  • Name: The legend text and the tooltip label.
  • Values: The values, oldest first.
  • Color: The colour role.
ChartColor Color { get; init; }

The colour role.

string Name { get; init; }

The legend text and the tooltip label.

IReadOnlyList<double> Values { get; init; }

The values, oldest first.