# ExcelChartOptionsFluent

The fluent methods of ExcelChartOptions, 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 [ExcelChartOptions](/api/excel/officeimo-excel-excelchartoptions/), 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
- ExcelChartOptionsFluent

Filter members 

Show inherited

## Methods

`public static ExcelChartOptions CachedData(ExcelChartOptions excelChartOptions, ExcelChartData? value)` [#](#method-cacheddata-officeimo-excel-excelchartoptions-officeimo-excel-excelchartdata)

Sets [ExcelChartOptions.CachedData](/api/excel/officeimo-excel-excelchartoptions/): Gets or sets an explicit cache for a typed native range descriptor. Null preserves a formula-only descriptor.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value OfficeIMO.Excel.ExcelChartData? required**

The value.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { CachedData = value };    excelChartOptions.CachedData(value);
```

`public static ExcelChartOptions Column(ExcelChartOptions excelChartOptions, int value)` [#](#method-column-officeimo-excel-excelchartoptions-int32)

Sets [ExcelChartOptions.Column](/api/excel/officeimo-excel-excelchartoptions/): Gets or sets the one-based anchor column. Defaults to 1.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value int required**

The value.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { Column = value };    excelChartOptions.Column(value);
```

`public static ExcelChartOptions HasHeaders(ExcelChartOptions excelChartOptions, bool value = true)` [#](#method-hasheaders-officeimo-excel-excelchartoptions-boolean)

Sets [ExcelChartOptions.HasHeaders](/api/excel/officeimo-excel-excelchartoptions/): Gets or sets whether an A1 source includes a header row. Table sources use their native header setting.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { HasHeaders = value };    excelChartOptions.HasHeaders(value);
```

`public static ExcelChartOptions Height(ExcelChartOptions excelChartOptions, OfficeLength? value)` [#](#method-height-officeimo-excel-excelchartoptions-nullable-officeimo-officelength)

Sets OfficeChartOptions.Height.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { Height = value };    excelChartOptions.Height(value);
```

`public static ExcelChartOptions IncludeCachedData(ExcelChartOptions excelChartOptions, bool value = true)` [#](#method-includecacheddata-officeimo-excel-excelchartoptions-boolean)

Sets [ExcelChartOptions.IncludeCachedData](/api/excel/officeimo-excel-excelchartoptions/): Gets or sets whether a named range or table source stores a snapshot cache. Formulas remain linked either way.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { IncludeCachedData = value };    excelChartOptions.IncludeCachedData(value);
```

`public static ExcelChartOptions Row(ExcelChartOptions excelChartOptions, int value)` [#](#method-row-officeimo-excel-excelchartoptions-int32)

Sets [ExcelChartOptions.Row](/api/excel/officeimo-excel-excelchartoptions/): Gets or sets the one-based anchor row. Defaults to 1.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value int required**

The value.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { Row = value };    excelChartOptions.Row(value);
```

`public static ExcelChartOptions Title(ExcelChartOptions excelChartOptions, string? value)` [#](#method-title-officeimo-excel-excelchartoptions-string)

Sets OfficeChartOptions.Title.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value string? required**

The value.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { Title = value };    excelChartOptions.Title(value);
```

`public static ExcelChartOptions Width(ExcelChartOptions excelChartOptions, OfficeLength? value)` [#](#method-width-officeimo-excel-excelchartoptions-nullable-officeimo-officelength)

Sets OfficeChartOptions.Width.

Parameters

**excelChartOptions OfficeIMO.Excel.ExcelChartOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelChartOptions` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Excel.ExcelChartOptions { Width = value };    excelChartOptions.Width(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:4085C1906545C6290038BEA24934485FE66836BC43A6156BA2A291E15B8A6461 -->
