XyChartSeries Class

A series of values of an XyChart, drawn as bars (XyChartBarSeries) or as a line (XyChartLineSeries). The value at an index belongs to the category at the same index of the x axis.

public abstract class XyChartSeries

Properties

NameDescription
NameGets or sets the name of the series, shown in the legend, or null to leave the series out of the legend.
ValuesGets the values. A value that is not finite is not drawn.

Gets or sets the name of the series, shown in the legend, or null to leave the series out of the legend.

public string? Name { get; set; }

Property value

string?

Gets the values. A value that is not finite is not drawn.

public IList<double> Values { get; }

Property value

IList<double>