Skip to content
ChartForgeX
Class

ChartValueLabelOptionsFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

The fluent methods of ChartValueLabelOptions, 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
  • ChartValueLabelOptionsFluent

Methods

public static ChartValueLabelOptions Placement(ChartValueLabelOptions chartValueLabelOptions, ChartDataLabelPlacement? value) #

Sets ChartValueLabelOptions.Placement: Gets or sets the preferred physical placement. Null inherits the series or chart policy; collisions can still omit the caption.

Parameters

chartValueLabelOptions ChartForgeX.Core.ChartValueLabelOptions required
The instance.
value ChartForgeX.Core.ChartDataLabelPlacement? required
The value.

Returns

ChartValueLabelOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartValueLabelOptions { Placement = value };    chartValueLabelOptions.Placement(value);
public static ChartValueLabelOptions Style(ChartValueLabelOptions chartValueLabelOptions, Action<TextStyleOverride> configure) #

Configures ChartValueLabelOptions.Style in place: Gets typography overrides resolved over the chart, series and observation label style, in that order.

Parameters

chartValueLabelOptions ChartForgeX.Core.ChartValueLabelOptions required
The instance.
configure System.Action<ChartForgeX.Typography.TextStyleOverride> required
Configures the value.

Returns

ChartValueLabelOptions The same instance.
public static ChartValueLabelOptions Visible(ChartValueLabelOptions chartValueLabelOptions, bool value = true) #

Sets ChartValueLabelOptions.Visible: Gets or sets whether this component may display a caption. The chart or series must also enable data labels. Default: true.

Parameters

chartValueLabelOptions ChartForgeX.Core.ChartValueLabelOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartValueLabelOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartValueLabelOptions { Visible = value };    chartValueLabelOptions.Visible(value);