Class Dataset
- Namespace
- MiniTui
- Assembly
- MiniTui.dll
A series of (x, y) values for a ChartBuilder (1.x spec §8.2).
public sealed record Dataset : IEquatable<Dataset>
- Inheritance
-
Dataset
- Implements
- Inherited Members
Constructors
Dataset(string, IReadOnlyList<(double X, double Y)>)
A series of (x, y) values for a ChartBuilder (1.x spec §8.2).
public Dataset(string Name, IReadOnlyList<(double X, double Y)> Data)
Parameters
NamestringThe name in the legend. An empty name leaves the dataset out of it.
DataIReadOnlyList<(double X, double Y)>The points, in drawing order. NaN and infinite values aren't drawn and break a line.
Properties
Data
The points, in drawing order. NaN and infinite values aren't drawn and break a line.
public IReadOnlyList<(double X, double Y)> Data { get; init; }
Property Value
- IReadOnlyList<(double X, double Y)>
Marker
How dots are drawn. Default Braille.
public Marker Marker { get; init; }
Property Value
Name
The name in the legend. An empty name leaves the dataset out of it.
public string Name { get; init; }
Property Value
Style
The dataset's style, or null for ChartSeries by the dataset's position.
public Style? Style { get; init; }
Property Value
Type
Lines or points. Default Line.
public GraphType Type { get; init; }