ChartRangeBarOptions
ChartForgeX.Core
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.
Returned or exposed by 11
- Property ChartOptions.RangeBar
- Extension method ChartRangeBarOptions.EndLabel
- Extension method ChartRangeBarOptions.EndpointLabelBy
- Extension method ChartRangeBarOptions.LabelContent
- Extension method ChartRangeBarOptions.Orientation
- Extension method ChartRangeBarOptions.StartLabel
- Method ChartRangeBarOptionsFluent.EndLabel
- Method ChartRangeBarOptionsFluent.EndpointLabelBy
- Method ChartRangeBarOptionsFluent.LabelContent
- Method ChartRangeBarOptionsFluent.Orientation
- Method ChartRangeBarOptionsFluent.StartLabel
Accepted by parameters 18
- Extension method Chart.RangeBar
- Extension method Chart.RangeBar
- Method ChartFluent.RangeBar
- Method ChartFluent.RangeBar
- Extension method ChartOptions.RangeBar
- Extension method ChartOptions.RangeBar
- Method ChartOptionsFluent.RangeBar
- Method ChartOptionsFluent.RangeBar
- Extension method ChartRangeBarOptions.EndLabel
- Extension method ChartRangeBarOptions.EndpointLabelBy
- Extension method ChartRangeBarOptions.LabelContent
- Extension method ChartRangeBarOptions.Orientation
- Extension method ChartRangeBarOptions.StartLabel
- Method ChartRangeBarOptionsFluent.EndLabel
- Method ChartRangeBarOptionsFluent.EndpointLabelBy
- Method ChartRangeBarOptionsFluent.LabelContent
- Method ChartRangeBarOptionsFluent.Orientation
- Method ChartRangeBarOptionsFluent.StartLabel
Constructors
public ChartRangeBarOptions() #Inherited Methods
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
- The instance.
- configure System.Action<ChartForgeX.Core.ChartValueLabelOptions>
- Configures the value.
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
- The instance.
- value System.Func<ChartForgeX.Core.ChartRangeBarEndpointLabelContext, string?>?
- The callback.
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
- The instance.
- value ChartForgeX.Core.ChartRangeBarLabelContent
- The value.
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
- The instance.
- value ChartForgeX.Core.ChartOrientation
- The value.
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
- The instance.
- configure System.Action<ChartForgeX.Core.ChartValueLabelOptions>
- Configures the value.