# ExcelModernChartScope

Edits one ExcelModernChart: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

sealed

Edits one [ExcelModernChart](/api/excel/officeimo-excel-excelmodernchart/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- ExcelModernChartScope

## Usage

Explore 4 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 3

- Method [ExcelModernChartScope.ChartType](/api/excel/officeimo-excel-excelmodernchartscope/#method-charttype-officeimo-excel-excelmoderncharttype)
- Method [ExcelModernChartScope.Name](/api/excel/officeimo-excel-excelmodernchartscope/#method-name-string)
- Method [ExcelModernChartScope.Title](/api/excel/officeimo-excel-excelmodernchartscope/#method-title-string)

### Accepted by parameters 1

- Method [ExcelSheetScope.ModernChart](/api/excel/officeimo-excel-excelsheetscope/#method-modernchart-officeimo-excel-excelchartdata-int32-int32-officeimo-excel-excelmoderncharttype-string-nullable-officeimo-officelength-nullable-officeimo-officelength-action-officeimo-excel-excelmodernchartscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public ExcelModernChartScope ChartType(ExcelModernChartType chartType)` [#](#method-charttype-officeimo-excel-excelmoderncharttype)

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

Parameters

**chartType OfficeIMO.Excel.ExcelModernChartType required**

The value.

Returns

`ExcelModernChartScope` The same scope.

`public ExcelModernChartScope Name(string value)` [#](#method-name-string)

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

Parameters

**value string required**

The value.

Returns

`ExcelModernChartScope` The same scope.

`public ExcelModernChartScope Title(string? title)` [#](#method-title-string)

Sets the chart title while preserving unrelated imported ChartEx markup.

Parameters

**title string? required**

The value.

Returns

`ExcelModernChartScope` The same scope.

## 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?`

## Properties

`public ExcelModernChart Model { get; }` [#](#property-model)

The [ExcelModernChart](/api/excel/officeimo-excel-excelmodernchart/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:83175E903F2888E9EA597AA19869924157E9BDECF67D260DCCB31C03D95B72A4 -->
