Table of Contents

Class ChartPointSeries

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

A named group of ChartPoint values that share a color.

public sealed record ChartPointSeries : IEquatable<ChartPointSeries>
Inheritance
ChartPointSeries
Implements
Inherited Members

Constructors

ChartPointSeries(string, IReadOnlyList<ChartPoint>)

A named group of ChartPoint values that share a color.

public ChartPointSeries(string Name, IReadOnlyList<ChartPoint> Points)

Parameters

Name string

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

Points IReadOnlyList<ChartPoint>

The points in the series.

Properties

Name

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

public string Name { get; init; }

Property Value

string

Points

The points in the series.

public IReadOnlyList<ChartPoint> Points { get; init; }

Property Value

IReadOnlyList<ChartPoint>

Methods

Deconstruct(out string, out IReadOnlyList<ChartPoint>)

public void Deconstruct(out string Name, out IReadOnlyList<ChartPoint> Points)

Parameters

Name string
Points IReadOnlyList<ChartPoint>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartPointSeries?)

public bool Equals(ChartPointSeries? other)

Parameters

other ChartPointSeries

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartPointSeries?, ChartPointSeries?)

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

Parameters

left ChartPointSeries
right ChartPointSeries

Returns

bool

operator !=(ChartPointSeries?, ChartPointSeries?)

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

Parameters

left ChartPointSeries
right ChartPointSeries

Returns

bool