Table of Contents

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

name string

The series name.

lineColor Color

The line color.

gradient ColorGradient

Optional 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

ColorGradient

LineColor

Gets or sets the line color for this series.

public Color LineColor { get; set; }

Property Value

Color

Name

Gets or sets the display name of this series.

public string Name { get; set; }

Property Value

string