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
blockBlockBuilder
Returns
Data(IReadOnlyList<double>)
The values, oldest first. Negative and NaN values draw as empty.
public SparklineBuilder Data(IReadOnlyList<double> data)
Parameters
dataIReadOnlyList<double>
Returns
Draw(Buffer, Rect)
Draw the sparkline.
public void Draw(Buffer buf, Rect area)
Parameters
Max(double?)
The value of a full bar. By default, the largest value.
public SparklineBuilder Max(double? max)
Parameters
maxdouble?
Returns
Style(Style)
A style patched over the theme's gauge style.
public SparklineBuilder Style(Style style)
Parameters
styleStyle