Table of Contents

Class ChartSeries

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

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

Name string

The series name shown in the legend, tooltips and table view.

Values IReadOnlyList<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

string

Values

The values in category order. Use null for a missing value.

public IReadOnlyList<double?> Values { get; init; }

Property Value

IReadOnlyList<double?>

Methods

Deconstruct(out string, out IReadOnlyList<double?>)

public void Deconstruct(out string Name, out IReadOnlyList<double?> Values)

Parameters

Name string
Values IReadOnlyList<double?>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartSeries?)

public bool Equals(ChartSeries? other)

Parameters

other ChartSeries

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartSeries?, ChartSeries?)

public static bool operator ==(ChartSeries? left, ChartSeries? right)

Parameters

left ChartSeries
right ChartSeries

Returns

bool

operator !=(ChartSeries?, ChartSeries?)

public static bool operator !=(ChartSeries? left, ChartSeries? right)

Parameters

left ChartSeries
right ChartSeries

Returns

bool