# ExcelChartDataLabelTemplateFluent

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

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelChartDataLabelTemplate](/api/excel/officeimo-excel-excelchartdatalabeltemplate/), 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
- ExcelChartDataLabelTemplateFluent

Filter members 

Show inherited

## Methods

`public static ExcelChartDataLabelTemplate Bold(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-bold-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.Bold](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle bold text.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { Bold = value };    excelChartDataLabelTemplate.Bold(value);
```

`public static ExcelChartDataLabelTemplate FillColor(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeColor? value)` [#](#method-fillcolor-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officecolor)

Sets [ExcelChartDataLabelTemplate.FillColor](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Fill color.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { FillColor = value };    excelChartDataLabelTemplate.FillColor(value);
```

`public static ExcelChartDataLabelTemplate FontFamily(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, string? value)` [#](#method-fontfamily-officeimo-excel-excelchartdatalabeltemplate-string)

Sets [ExcelChartDataLabelTemplate.FontFamily](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Font name.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value string? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { FontFamily = value };    excelChartDataLabelTemplate.FontFamily(value);
```

`public static ExcelChartDataLabelTemplate FontSize(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeLength? value)` [#](#method-fontsize-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officelength)

Sets [ExcelChartDataLabelTemplate.FontSize](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Physical font size.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { FontSize = value };    excelChartDataLabelTemplate.FontSize(value);
```

`public static ExcelChartDataLabelTemplate Italic(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-italic-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.Italic](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle italic text.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { Italic = value };    excelChartDataLabelTemplate.Italic(value);
```

`public static ExcelChartDataLabelTemplate LeaderLineColor(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeColor? value)` [#](#method-leaderlinecolor-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officecolor)

Sets [ExcelChartDataLabelTemplate.LeaderLineColor](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Leader line color.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { LeaderLineColor = value };    excelChartDataLabelTemplate.LeaderLineColor(value);
```

`public static ExcelChartDataLabelTemplate LeaderLineWidth(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeLength? value)` [#](#method-leaderlinewidth-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officelength)

Sets [ExcelChartDataLabelTemplate.LeaderLineWidth](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Leader line physical width.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { LeaderLineWidth = value };    excelChartDataLabelTemplate.LeaderLineWidth(value);
```

`public static ExcelChartDataLabelTemplate LineColor(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeColor? value)` [#](#method-linecolor-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officecolor)

Sets [ExcelChartDataLabelTemplate.LineColor](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Line color.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { LineColor = value };    excelChartDataLabelTemplate.LineColor(value);
```

`public static ExcelChartDataLabelTemplate LineWidth(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeLength? value)` [#](#method-linewidth-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officelength)

Sets [ExcelChartDataLabelTemplate.LineWidth](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Line physical width.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { LineWidth = value };    excelChartDataLabelTemplate.LineWidth(value);
```

`public static ExcelChartDataLabelTemplate NoFill(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool value = true)` [#](#method-nofill-officeimo-excel-excelchartdatalabeltemplate-boolean)

Sets [ExcelChartDataLabelTemplate.NoFill](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Disable fill.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { NoFill = value };    excelChartDataLabelTemplate.NoFill(value);
```

`public static ExcelChartDataLabelTemplate NoLine(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool value = true)` [#](#method-noline-officeimo-excel-excelchartdatalabeltemplate-boolean)

Sets [ExcelChartDataLabelTemplate.NoLine](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Disable line.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { NoLine = value };    excelChartDataLabelTemplate.NoLine(value);
```

`public static ExcelChartDataLabelTemplate NumberFormat(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, string? value)` [#](#method-numberformat-officeimo-excel-excelchartdatalabeltemplate-string)

Sets [ExcelChartDataLabelTemplate.NumberFormat](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Number format code for labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value string? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { NumberFormat = value };    excelChartDataLabelTemplate.NumberFormat(value);
```

`public static ExcelChartDataLabelTemplate Position(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeChartDataLabelPosition? value)` [#](#method-position-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-drawing-officechartdatalabelposition)

Sets [ExcelChartDataLabelTemplate.Position](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Sets label position.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.Drawing.OfficeChartDataLabelPosition? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { Position = value };    excelChartDataLabelTemplate.Position(value);
```

`public static ExcelChartDataLabelTemplate Separator(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, string? value)` [#](#method-separator-officeimo-excel-excelchartdatalabeltemplate-string)

Sets [ExcelChartDataLabelTemplate.Separator](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Separator between label parts.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value string? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { Separator = value };    excelChartDataLabelTemplate.Separator(value);
```

`public static ExcelChartDataLabelTemplate ShowBubbleSize(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showbubblesize-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowBubbleSize](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle bubble size labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowBubbleSize = value };    excelChartDataLabelTemplate.ShowBubbleSize(value);
```

`public static ExcelChartDataLabelTemplate ShowCategoryName(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showcategoryname-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowCategoryName](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle category name labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowCategoryName = value };    excelChartDataLabelTemplate.ShowCategoryName(value);
```

`public static ExcelChartDataLabelTemplate ShowLeaderLines(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showleaderlines-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowLeaderLines](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle leader lines for labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowLeaderLines = value };    excelChartDataLabelTemplate.ShowLeaderLines(value);
```

`public static ExcelChartDataLabelTemplate ShowLegendKey(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showlegendkey-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowLegendKey](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle legend key labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowLegendKey = value };    excelChartDataLabelTemplate.ShowLegendKey(value);
```

`public static ExcelChartDataLabelTemplate ShowPercent(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showpercent-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowPercent](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle percent labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowPercent = value };    excelChartDataLabelTemplate.ShowPercent(value);
```

`public static ExcelChartDataLabelTemplate ShowSeriesName(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showseriesname-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowSeriesName](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle series name labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowSeriesName = value };    excelChartDataLabelTemplate.ShowSeriesName(value);
```

`public static ExcelChartDataLabelTemplate ShowValue(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool? value = true)` [#](#method-showvalue-officeimo-excel-excelchartdatalabeltemplate-nullable-system-boolean)

Sets [ExcelChartDataLabelTemplate.ShowValue](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Toggle value labels.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { ShowValue = value };    excelChartDataLabelTemplate.ShowValue(value);
```

`public static ExcelChartDataLabelTemplate SourceLinked(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, bool value = true)` [#](#method-sourcelinked-officeimo-excel-excelchartdatalabeltemplate-boolean)

Sets [ExcelChartDataLabelTemplate.SourceLinked](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Use source-linked formatting for number format.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { SourceLinked = value };    excelChartDataLabelTemplate.SourceLinked(value);
```

`public static ExcelChartDataLabelTemplate TextColor(ExcelChartDataLabelTemplate excelChartDataLabelTemplate, OfficeColor? value)` [#](#method-textcolor-officeimo-excel-excelchartdatalabeltemplate-nullable-officeimo-officecolor)

Sets [ExcelChartDataLabelTemplate.TextColor](/api/excel/officeimo-excel-excelchartdatalabeltemplate/): Text color.

Parameters

**excelChartDataLabelTemplate OfficeIMO.Excel.ExcelChartDataLabelTemplate required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`ExcelChartDataLabelTemplate` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartDataLabelTemplate { TextColor = value };    excelChartDataLabelTemplate.TextColor(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:6450AA29A6B0F99D4DC006E6C83EBCB54B825FAD1EE08963B9B6B3108E5C7902 -->
