ChartOptionsFluent
ConsoleMonster.Widgets
The fluent methods of ChartOptions, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- object
- ChartOptionsFluent
Methods
public static ChartOptions AddItem(ChartOptions chartOptions, ChartItem item) #Adds an item to ChartOptions.Items: Labelled bars or stacked segments.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- item ConsoleMonster.Widgets.ChartItem
- The item.
public static ChartOptions AddItems(ChartOptions chartOptions, params ChartItem[] items) #Adds items to ChartOptions.Items: Labelled bars or stacked segments.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- items ConsoleMonster.Widgets.ChartItem[]
- The items, in order.
public static ChartOptions AddItems(ChartOptions chartOptions, IEnumerable<ChartItem> items) #Adds items to ChartOptions.Items: Labelled bars or stacked segments.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Widgets.ChartItem>
- The items, in order.
public static ChartOptions AddSeries(ChartOptions chartOptions, ChartSeries item) #Adds an item to ChartOptions.Series: Typed line/scatter series, retaining per-series colors.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- item ConsoleMonster.Widgets.ChartSeries
- The item.
public static ChartOptions AddSeries(ChartOptions chartOptions, params ChartSeries[] items) #Adds items to ChartOptions.Series: Typed line/scatter series, retaining per-series colors.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- items ConsoleMonster.Widgets.ChartSeries[]
- The items, in order.
public static ChartOptions AddSeries(ChartOptions chartOptions, IEnumerable<ChartSeries> items) #Adds items to ChartOptions.Series: Typed line/scatter series, retaining per-series colors.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Widgets.ChartSeries>
- The items, in order.
public static ChartOptions Capacity(ChartOptions chartOptions, int? value) #Sets ChartOptions.Capacity: Retained Line, Scatter or Sparkline samples; null keeps that kind's default.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Capacity = value }; Ui.Chart().Capacity(value);public static ChartOptions CountColumn(ChartOptions chartOptions, ColumnFormat? value) #Sets ChartOptions.CountColumn: The stacked numeric-column format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Layout.ColumnFormat?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { CountColumn = value }; Ui.Chart().CountColumn(value);public static ChartOptions CountColumn(ChartOptions chartOptions, Action<ColumnFormat> configure) #Configures ChartOptions.CountColumn in place: The stacked numeric-column format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static ChartOptions Critical(ChartOptions chartOptions, double? value) #Sets ChartOptions.Critical: The critical threshold.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Critical = value }; Ui.Chart().Critical(value);public static ChartOptions Edges(ChartOptions chartOptions, double[]? value) #Sets ChartOptions.Edges: Strictly ascending histogram bucket edges.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value double[]?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Edges = value }; Ui.Chart().Edges(value);public static ChartOptions Height(ChartOptions chartOptions, int? value) #Sets ChartOptions.Height: The plot height; omitted uses the selected kind default.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Height = value }; Ui.Chart().Height(value);public static ChartOptions Label(ChartOptions chartOptions, string? value) #Sets ChartOptions.Label: The sparkline label.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Label = value }; Ui.Chart().Label(value);public static ChartOptions LabelColumn(ChartOptions chartOptions, ColumnFormat? value) #Sets ChartOptions.LabelColumn: The stacked legend-label format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Layout.ColumnFormat?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { LabelColumn = value }; Ui.Chart().LabelColumn(value);public static ChartOptions LabelColumn(ChartOptions chartOptions, Action<ColumnFormat> configure) #Configures ChartOptions.LabelColumn in place: The stacked legend-label format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static ChartOptions Maximum(ChartOptions chartOptions, double? value) #Sets ChartOptions.Maximum: The upper numeric limit.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Maximum = value }; Ui.Chart().Maximum(value);public static ChartOptions MaxLegendColumns(ChartOptions chartOptions, int value) #Sets ChartOptions.MaxLegendColumns: Maximum Stacked legend columns; zero fits the available width.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { MaxLegendColumns = value }; Ui.Chart().MaxLegendColumns(value);public static ChartOptions Minimum(ChartOptions chartOptions, double? value) #Sets ChartOptions.Minimum: The lower numeric limit.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Minimum = value }; Ui.Chart().Minimum(value);public static ChartOptions PercentColumn(ChartOptions chartOptions, ColumnFormat? value) #Sets ChartOptions.PercentColumn: The stacked percent-column format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Layout.ColumnFormat?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { PercentColumn = value }; Ui.Chart().PercentColumn(value);public static ChartOptions PercentColumn(ChartOptions chartOptions, Action<ColumnFormat> configure) #Configures ChartOptions.PercentColumn in place: The stacked percent-column format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static ChartOptions Role(ChartOptions chartOptions, ThemeToken? value) #Sets ChartOptions.Role: The chart color role.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Styling.ThemeToken?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Role = value }; Ui.Chart().Role(value);public static ChartOptions Shape(ChartOptions chartOptions, BarShape value) #Sets ChartOptions.Shape: The bar shape.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Widgets.BarShape
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Shape = value }; Ui.Chart().Shape(value);public static ChartOptions ShowLatest(ChartOptions chartOptions, bool value) #Sets ChartOptions.ShowLatest: Whether the latest sparkline value is shown.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { ShowLatest = value }; Ui.Chart().ShowLatest(value);public static ChartOptions ShowLatest(ChartOptions chartOptions) #Sets ChartOptions.ShowLatest to true.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance to configure.
public static ChartOptions ShowLegend(ChartOptions chartOptions, bool value) #Sets ChartOptions.ShowLegend: Whether Stacked charts show their legend.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { ShowLegend = value }; Ui.Chart().ShowLegend(value);public static ChartOptions ShowLegend(ChartOptions chartOptions) #Sets ChartOptions.ShowLegend to true.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance to configure.
public static ChartOptions ShowValues(ChartOptions chartOptions, bool value) #Sets ChartOptions.ShowValues: Whether Bar charts show each numeric value.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { ShowValues = value }; Ui.Chart().ShowValues(value);public static ChartOptions ShowValues(ChartOptions chartOptions) #Sets ChartOptions.ShowValues to true.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance to configure.
public static ChartOptions Signed(ChartOptions chartOptions, bool value) #Sets ChartOptions.Signed: Whether Bar charts reserve space on both sides of zero.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Signed = value }; Ui.Chart().Signed(value);public static ChartOptions Signed(ChartOptions chartOptions) #Sets ChartOptions.Signed to true.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance to configure.
public static ChartOptions Type(ChartOptions chartOptions, ChartType value) #Sets ChartOptions.Type: The numeric chart kind.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Widgets.ChartType
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Type = value }; Ui.Chart().Type(value);public static ChartOptions Unit(ChartOptions chartOptions, string? value) #Sets ChartOptions.Unit: The unit on numeric labels.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Unit = value }; Ui.Chart().Unit(value);public static ChartOptions ValueColumn(ChartOptions chartOptions, ColumnFormat? value) #Sets ChartOptions.ValueColumn: The bar numeric-column format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value ConsoleMonster.Layout.ColumnFormat?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { ValueColumn = value }; Ui.Chart().ValueColumn(value);public static ChartOptions ValueColumn(ChartOptions chartOptions, Action<ColumnFormat> configure) #Configures ChartOptions.ValueColumn in place: The bar numeric-column format.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- configure System.Action<ConsoleMonster.Layout.ColumnFormat>
- Configures the value.
public static ChartOptions Values(ChartOptions chartOptions, double[]? value) #Sets ChartOptions.Values: Initial numeric samples.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value double[]?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Values = value }; Ui.Chart().Values(value);public static ChartOptions Warning(ChartOptions chartOptions, double? value) #Sets ChartOptions.Warning: The warning threshold.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value double?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { Warning = value }; Ui.Chart().Warning(value);public static ChartOptions WidgetId(ChartOptions chartOptions, string? value) #Sets ChartOptions.WidgetId: The live identifier; omitted uses the chart kind.
Parameters
- chartOptions ConsoleMonster.Widgets.ChartOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.ChartOptions { WidgetId = value }; Ui.Chart().WidgetId(value);