# ExcelModernChartFluent

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

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelModernChart](/api/excel/officeimo-excel-excelmodernchart/), 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
- ExcelModernChartFluent

Filter members 

Show inherited

## Methods

`public static ExcelModernChart ChartType(ExcelModernChart excelModernChart, ExcelModernChartType chartType)` [#](#method-charttype-officeimo-excel-excelmodernchart-officeimo-excel-excelmoderncharttype)

Changes the native series layout while preserving data, formatting, and unknown siblings.

Parameters

**excelModernChart OfficeIMO.Excel.ExcelModernChart required**

The instance.

**chartType OfficeIMO.Excel.ExcelModernChartType required**

The value.

Returns

`ExcelModernChart` The same instance.

`public static ExcelModernChart Name(ExcelModernChart excelModernChart, string value)` [#](#method-name-officeimo-excel-excelmodernchart-string)

Sets [ExcelModernChart.Name](/api/excel/officeimo-excel-excelmodernchart/): Non-visual drawing name.

Parameters

**excelModernChart OfficeIMO.Excel.ExcelModernChart required**

The instance.

**value string required**

The value.

Returns

`ExcelModernChart` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
excelModernChart.Name = value;    excelModernChart.Name(value);
```

`public static ExcelModernChart Title(ExcelModernChart excelModernChart, string? title)` [#](#method-title-officeimo-excel-excelmodernchart-string)

Sets the chart title while preserving unrelated imported ChartEx markup.

Parameters

**excelModernChart OfficeIMO.Excel.ExcelModernChart required**

The instance.

**title string? required**

The value.

Returns

`ExcelModernChart` The same instance.

## 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:7441FEA3443A5B63D3FB1388C2AD95C4B1D3235C3DD892B001B18306C0A4E53D -->
