API Reference
Class
HistogramFluent
The fluent methods of Histogram, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- HistogramFluent
Methods
public static Histogram WithEdgeFormat(Histogram histogram, Func<Double, String>? value) #Returns:
HistogramSets Histogram.EdgeFormat: Formats the bucket edge labels (for example milliseconds as 250ms and 1s), or null for the compact number and Histogram.Unit.
Parameters
- histogram ConsoleMonster.Widgets.Histogram
- The instance.
- value System.Func<System.Double, System.String>?
- The value.
Returns
The same instance.
public static Histogram WithHeight(Histogram histogram, Int32 value) #Returns:
HistogramSets Histogram.Height: Rows for the bars (default 6).
Parameters
- histogram ConsoleMonster.Widgets.Histogram
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static Histogram WithToken(Histogram histogram, ThemeToken value) #Returns:
HistogramSets Histogram.Token: The bar colour token (default ThemeToken.Series1).
Parameters
- histogram ConsoleMonster.Widgets.Histogram
- The instance.
- value ConsoleMonster.Styling.ThemeToken
- The value.
Returns
The same instance.
public static Histogram WithUnit(Histogram histogram, String? value) #Returns:
HistogramSets Histogram.Unit: A unit for bucket labels (for example s).
Parameters
- histogram ConsoleMonster.Widgets.Histogram
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?