Class
SparklinePresenter
ConsoleMonster.Presenters
A series as a one-line sparkline in the cell, followed by the last value: ▂▃▅▇▆▄ 42.
Inheritance
- object
- SparklinePresenter
Constructors
public SparklinePresenter(int width = 12) #Creates a sparkline presenter.
Parameters
- width int = 12
- Cells the sparkline would like (default 12).
Methods
public PresentedValue Present(object? value, PresenterContext context) #Presents a value.
Parameters
- value object?
- The raw value (may be null).
- context ConsoleMonster.Presenters.PresenterContext
- Culture, clock, time zone, column statistics and the render context.