Class LineGraphSeries
- Namespace
- SharpConsoleUI.Controls
- Assembly
- SharpConsoleUI.dll
Represents a named data series in a line graph.
public class LineGraphSeries
- Inheritance
-
LineGraphSeries
- Inherited Members
- Extension Methods
Constructors
LineGraphSeries(string, Color, ColorGradient?)
Creates a new series with the specified name and color.
public LineGraphSeries(string name, Color lineColor, ColorGradient? gradient = null)
Parameters
namestringThe series name.
lineColorColorThe line color.
gradientColorGradientOptional color gradient.
Properties
Gradient
Gets or sets an optional horizontal color gradient for this series. When set, color interpolates across the graph width.
public ColorGradient? Gradient { get; set; }
Property Value
LineColor
Gets or sets the line color for this series.
public Color LineColor { get; set; }
Property Value
Name
Gets or sets the display name of this series.
public string Name { get; set; }