Skip to content
ChartForgeX
Class

ChartRangeBarOptionsFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

The fluent methods of ChartRangeBarOptions, 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
  • ChartRangeBarOptionsFluent

Methods

public static ChartRangeBarOptions EndLabel(ChartRangeBarOptions chartRangeBarOptions, Action<ChartValueLabelOptions> configure) #

Configures ChartRangeBarOptions.EndLabel in place: Gets independent visibility, typography and physical placement for the authored End caption in Endpoints mode.

Parameters

chartRangeBarOptions ChartForgeX.Core.ChartRangeBarOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartValueLabelOptions> required
Configures the value.

Returns

ChartRangeBarOptions The same instance.
public static ChartRangeBarOptions EndpointLabelBy(ChartRangeBarOptions chartRangeBarOptions, Func<ChartRangeBarEndpointLabelContext, string?>? value) #

Sets ChartRangeBarOptions.EndpointLabelFormatter: Gets or sets the optional formatter for separate Start and End captions. Null uses the chart's numeric value format.

Parameters

chartRangeBarOptions ChartForgeX.Core.ChartRangeBarOptions required
The instance.
value System.Func<ChartForgeX.Core.ChartRangeBarEndpointLabelContext, string?>? required
The callback.

Returns

ChartRangeBarOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Core.ChartRangeBarOptions { EndpointLabelFormatter = value };    chartRangeBarOptions.EndpointLabelBy(value);
public static ChartRangeBarOptions LabelContent(ChartRangeBarOptions chartRangeBarOptions, ChartRangeBarLabelContent value) #

Sets ChartRangeBarOptions.LabelContent: Gets or sets whether data labels show one combined caption or separate authored endpoint captions. Default: Combined.

Parameters

chartRangeBarOptions ChartForgeX.Core.ChartRangeBarOptions required
The instance.
value ChartForgeX.Core.ChartRangeBarLabelContent required
The value.

Returns

ChartRangeBarOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartRangeBarOptions { LabelContent = value };    chartRangeBarOptions.LabelContent(value);
public static ChartRangeBarOptions Orientation(ChartRangeBarOptions chartRangeBarOptions, ChartOrientation value) #

Sets ChartRangeBarOptions.Orientation: Gets or sets the value direction. Vertical is the default; horizontal uses X for values and Y for categories.

Parameters

chartRangeBarOptions ChartForgeX.Core.ChartRangeBarOptions required
The instance.
value ChartForgeX.Core.ChartOrientation required
The value.

Returns

ChartRangeBarOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartRangeBarOptions { Orientation = value };    chartRangeBarOptions.Orientation(value);
public static ChartRangeBarOptions StartLabel(ChartRangeBarOptions chartRangeBarOptions, Action<ChartValueLabelOptions> configure) #

Configures ChartRangeBarOptions.StartLabel in place: Gets independent visibility, typography and physical placement for the authored Start caption in Endpoints mode.

Parameters

chartRangeBarOptions ChartForgeX.Core.ChartRangeBarOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartValueLabelOptions> required
Configures the value.

Returns

ChartRangeBarOptions The same instance.