Class ChartSeries
A named run of values, one per category, plotted by the category-based charts (bar, column, line, radar and so on).
public sealed record ChartSeries : IEquatable<ChartSeries>
- Inheritance
-
ChartSeries
- Implements
- Inherited Members
Constructors
ChartSeries(string, IReadOnlyList<double?>)
A named run of values, one per category, plotted by the category-based charts (bar, column, line, radar and so on).
public ChartSeries(string Name, IReadOnlyList<double?> Values)
Parameters
NamestringThe series name shown in the legend, tooltips and table view.
ValuesIReadOnlyList<double?>The values in category order. Use null for a missing value.
Properties
Name
The series name shown in the legend, tooltips and table view.
public string Name { get; init; }
Property Value
Values
The values in category order. Use null for a missing value.
public IReadOnlyList<double?> Values { get; init; }
Property Value
Methods
Deconstruct(out string, out IReadOnlyList<double?>)
public void Deconstruct(out string Name, out IReadOnlyList<double?> Values)
Parameters
NamestringValuesIReadOnlyList<double?>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartSeries?)
public bool Equals(ChartSeries? other)
Parameters
otherChartSeries
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartSeries?, ChartSeries?)
public static bool operator ==(ChartSeries? left, ChartSeries? right)
Parameters
leftChartSeriesrightChartSeries
Returns
operator !=(ChartSeries?, ChartSeries?)
public static bool operator !=(ChartSeries? left, ChartSeries? right)
Parameters
leftChartSeriesrightChartSeries