Table of Contents

Class ValueMarker

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Represents a labeled arrow marker pointing at a specific Y-axis value on the graph edge. Used to highlight current values, targets, or notable data points.

public class ValueMarker
Inheritance
ValueMarker
Inherited Members
Extension Methods

Constructors

ValueMarker(double, string, Color, Color, MarkerSide)

Creates a new value marker at the specified value.

public ValueMarker(double value, string label, Color arrowColor, Color labelColor, MarkerSide side = MarkerSide.Right)

Parameters

value double

The Y-axis value to mark.

label string

The label text.

arrowColor Color

The color of the marker arrow.

labelColor Color

The color of the label text.

side MarkerSide

Which side of the graph the marker appears on.

Properties

ArrowColor

Gets the color of the marker arrow.

public Color ArrowColor { get; }

Property Value

Color

Label

Gets the label text displayed next to the marker arrow.

public string Label { get; }

Property Value

string

LabelColor

Gets the color of the label text.

public Color LabelColor { get; }

Property Value

Color

Side

Gets which side of the graph the marker appears on.

public MarkerSide Side { get; }

Property Value

MarkerSide

Value

Gets the Y-axis value this marker points to.

public double Value { get; }

Property Value

double