# ChartDataLabelOptionsFluent

The fluent methods of ChartDataLabelOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartDataLabelOptions](/api/chartforgex-core-chartdatalabeloptions/), 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
- ChartDataLabelOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartDataLabelOptions ConnectorColor(ChartDataLabelOptions chartDataLabelOptions, ChartColor? value)` [#](#method-connectorcolor-chartforgex-core-chartdatalabeloptions-nullable-chartforgex-primitives-chartcolor) 

Sets [ChartDataLabelOptions.ConnectorColor](/api/chartforgex-core-chartdatalabeloptions/): Gets or sets an optional override color for data-label connector lines. Pie and donut callouts use the matching slice color when this is null.

Parameters

**chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `ChartDataLabelOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorColor = value };    chartDataLabelOptions.ConnectorColor(value);
```

 `public static ChartDataLabelOptions ConnectorOpacity(ChartDataLabelOptions chartDataLabelOptions, double value)` [#](#method-connectoropacity-chartforgex-core-chartdatalabeloptions-double) 

Sets [ChartDataLabelOptions.ConnectorOpacity](/api/chartforgex-core-chartdatalabeloptions/): Gets or sets the opacity used by data-label connector lines.

Parameters

**chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions required**

The instance.

**value double required**

The value.

Returns

 `ChartDataLabelOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorOpacity = value };    chartDataLabelOptions.ConnectorOpacity(value);
```

 `public static ChartDataLabelOptions ConnectorStrokeWidth(ChartDataLabelOptions chartDataLabelOptions, double value)` [#](#method-connectorstrokewidth-chartforgex-core-chartdatalabeloptions-double) 

Sets [ChartDataLabelOptions.ConnectorStrokeWidth](/api/chartforgex-core-chartdatalabeloptions/): Gets or sets the stroke width used by data-label connector lines.

Parameters

**chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions required**

The instance.

**value double required**

The value.

Returns

 `ChartDataLabelOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorStrokeWidth = value };    chartDataLabelOptions.ConnectorStrokeWidth(value);
```

 `public static ChartDataLabelOptions ConnectorStyle(ChartDataLabelOptions chartDataLabelOptions, ChartDataLabelConnectorStyle value)` [#](#method-connectorstyle-chartforgex-core-chartdatalabeloptions-chartforgex-core-chartdatalabelconnectorstyle) 

Sets [ChartDataLabelOptions.ConnectorStyle](/api/chartforgex-core-chartdatalabeloptions/): Gets or sets the connector line shape used by outside and side data labels.

Parameters

**chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions required**

The instance.

**value ChartForgeX.Core.ChartDataLabelConnectorStyle required**

The value.

Returns

 `ChartDataLabelOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { ConnectorStyle = value };    chartDataLabelOptions.ConnectorStyle(value);
```

 `public static ChartDataLabelOptions Placement(ChartDataLabelOptions chartDataLabelOptions, ChartDataLabelPlacement value)` [#](#method-placement-chartforgex-core-chartdatalabeloptions-chartforgex-core-chartdatalabelplacement) 

Sets [ChartDataLabelOptions.Placement](/api/chartforgex-core-chartdatalabeloptions/): Gets or sets the preferred data-label placement for capable renderers.

Parameters

**chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions required**

The instance.

**value ChartForgeX.Core.ChartDataLabelPlacement required**

The value.

Returns

 `ChartDataLabelOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { Placement = value };    chartDataLabelOptions.Placement(value);
```

 `public static ChartDataLabelOptions Visible(ChartDataLabelOptions chartDataLabelOptions, bool? value = true)` [#](#method-visible-chartforgex-core-chartdatalabeloptions-nullable-system-boolean) 

Sets [ChartDataLabelOptions.Visible](/api/chartforgex-core-chartdatalabeloptions/): Gets or sets chart-level data-label visibility. Series without an explicit override use this setting. When unset, the renderer uses its family's default visibility.

Parameters

**chartDataLabelOptions ChartForgeX.Core.ChartDataLabelOptions required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

 `ChartDataLabelOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartDataLabelOptions { Visible = value };    chartDataLabelOptions.Visible(value);
```

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:D1435A1BE8F923CA6A7E7392BFBC192A01D64ABB711C12274A66FE1BA9C4B327 -->
