Table of Contents

Class SparklineBuilder

Namespace
MiniTui
Assembly
MiniTui.dll

A bar chart of recent values in one row (or more) of ▁▂▃▄▅▆▇█, newest at the right.

public sealed class SparklineBuilder
Inheritance
SparklineBuilder
Inherited Members

Methods

Block(BlockBuilder)

Draw a block around the sparkline.

public SparklineBuilder Block(BlockBuilder block)

Parameters

block BlockBuilder

Returns

SparklineBuilder

Data(IReadOnlyList<double>)

The values, oldest first. Negative and NaN values draw as empty.

public SparklineBuilder Data(IReadOnlyList<double> data)

Parameters

data IReadOnlyList<double>

Returns

SparklineBuilder

Draw(Buffer, Rect)

Draw the sparkline.

public void Draw(Buffer buf, Rect area)

Parameters

buf Buffer
area Rect

Max(double?)

The value of a full bar. By default, the largest value.

public SparklineBuilder Max(double? max)

Parameters

max double?

Returns

SparklineBuilder

Style(Style)

A style patched over the theme's gauge style.

public SparklineBuilder Style(Style style)

Parameters

style Style

Returns

SparklineBuilder