StackedBarFluent
ConsoleMonster.Widgets
The fluent methods of StackedBar, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- StackedBarFluent
Methods
public static StackedBar ColorPassing(StackedBar stackedBar, bool value = true) #Sets StackedBar.ColorPassing: Whether a passing share keeps the pass colour (default false: it is drawn neutral so the problem shares stand out). Turn it on where passing items are coloured elsewhere on the same screen, such as in a cell map.
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { ColorPassing = value }; Ui.StackedBar().ColorPassing(value);public static StackedBar CountColumn(StackedBar stackedBar, ColumnFormat value) #Sets StackedBar.CountColumn: Layout of the legend count column (default right-aligned; reserves the digits of the overall total).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value ConsoleMonster.Layout.ColumnFormat
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { CountColumn = value }; Ui.StackedBar().CountColumn(value);public static StackedBar CountColumn(StackedBar stackedBar, Action<ColumnFormat> configure) #Configures StackedBar.CountColumn in place: Layout of the legend count column (default right-aligned; reserves the digits of the overall total).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static StackedBar LabelColumn(StackedBar stackedBar, ColumnFormat value) #Sets StackedBar.LabelColumn: Layout of the legend label column (default left-aligned).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value ConsoleMonster.Layout.ColumnFormat
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { LabelColumn = value }; Ui.StackedBar().LabelColumn(value);public static StackedBar LabelColumn(StackedBar stackedBar, Action<ColumnFormat> configure) #Configures StackedBar.LabelColumn in place: Layout of the legend label column (default left-aligned).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static StackedBar MaxLegendColumns(StackedBar stackedBar, int value) #Sets StackedBar.MaxLegendColumns: The most legend columns per row, or 0 (default) to fit as many as the width allows. Entries fill rows left to right and every row shares one grid fitted to each column, so labels, counts and percentages line up.
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { MaxLegendColumns = value }; Ui.StackedBar().MaxLegendColumns(value);public static StackedBar PercentColumn(StackedBar stackedBar, ColumnFormat value) #Sets StackedBar.PercentColumn: Layout of the legend percentage column (default right-aligned, four cells).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value ConsoleMonster.Layout.ColumnFormat
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { PercentColumn = value }; Ui.StackedBar().PercentColumn(value);public static StackedBar PercentColumn(StackedBar stackedBar, Action<ColumnFormat> configure) #Configures StackedBar.PercentColumn in place: Layout of the legend percentage column (default right-aligned, four cells).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static StackedBar ShowLegend(StackedBar stackedBar, bool value = true) #Sets StackedBar.ShowLegend: Whether the legend line is shown (default true).
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { ShowLegend = value }; Ui.StackedBar().ShowLegend(value);public static StackedBar ShowSwatches(StackedBar stackedBar, bool value = true) #Sets StackedBar.ShowSwatches: Whether each legend entry starts with a swatch of its bar fill (default true). Without swatches, an entry with a status shows only its coloured status symbol, so every row has one marker; entries without a status, and every entry when there is no colour, keep their swatch.
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { ShowSwatches = value }; Ui.StackedBar().ShowSwatches(value);public static StackedBar ShowTotal(StackedBar stackedBar, bool value = true) #Sets StackedBar.ShowTotal: Whether the total is written after the bar (default true). Turn it off where a title or caption already gives it.
Parameters
- stackedBar ConsoleMonster.Widgets.StackedBar
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.StackedBar { ShowTotal = value }; Ui.StackedBar().ShowTotal(value);