Skip to content
ConsoleMonster

API Reference

Class

ChartSeries

Namespace ConsoleMonster.Widgets
Assembly ConsoleMonster
Modifiers sealed

A named series of values in a LineChart; values are plotted at evenly spaced x positions.

Inheritance

  • Object
  • ChartSeries

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Constructors

public ChartSeries(String name, ThemeToken token) #

Creates a series.

Parameters

name System.String requiredposition: 0
The name (legend and live key).
token ConsoleMonster.Styling.ThemeToken requiredposition: 1
The colour token.

Methods

public Void Add(Double value, Int32 capacity) #
Returns: Void

Appends a value, dropping the oldest beyond capacity.

Parameters

value System.Double requiredposition: 0
The value.
capacity System.Int32 requiredposition: 1
How many values to keep.

Properties

public String Name { get; } #

The name.

public RichText? NameText { get; set; } #

A multicolour legend name shown instead of ChartSeries.Name (which stays the key), or null.

public ThemeToken Token { get; set; } #

The colour token.

public IReadOnlyList<Double> Values { get; } #

The values, oldest first.