Skip to content
ChartForgeX
Class

ChartRangeBarOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Controls range-bar direction and captions without changing category coordinates or authored endpoints.

Inheritance

  • object
  • ChartRangeBarOptions

Usage

Explore 29 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 18

Constructors

public ChartRangeBarOptions() #

Properties

public ChartRangeBarLabelContent LabelContent { get; set; } #

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

public Func<ChartRangeBarEndpointLabelContext, string?>? EndpointLabelFormatter { get; set; } #
Fluent("EndpointLabelBy")

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

public ChartValueLabelOptions StartLabel { get; private set; } #

Gets independent visibility, typography and physical placement for the authored Start caption in Endpoints mode.

public ChartValueLabelOptions EndLabel { get; private set; } #

Gets independent visibility, typography and physical placement for the authored End caption in Endpoints mode.

public ChartOrientation Orientation { get; set; } #

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

Extension 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.