# ExcelChartOptions

Controls the title, size, worksheet anchor and native range source of an editable Excel chart.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`bfa7e4cfd577` with working tree changes

**Source**

[ExcelChartOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L6)

**Base**

`OfficeChartOptions`

**Modifiers**

sealed

Controls the title, size, worksheet anchor and native range source of an editable Excel chart.

## Inheritance

- OfficeChartOptions
- ExcelChartOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Add Charts to Excel Workbooks](/docs/excel/charts/) Guide
  
  Add native, editable Excel charts from objects, cell ranges, or tables, and style titles, axes, legends, and data labels with OfficeIMO.Excel.
- [Excel Quick Start](/docs/excel/quick-start/) Guide
  
  Create an Excel workbook with a typed table and a chart, then read it back, with OfficeIMO.Excel, PSWriteOffice, or the officeimo CLI.
- [Six-week workload trend](/showcase/excel-operational-trends/) Sample
  
  Generate an editable Excel line chart from received and resolved request counts, with weekly net-change formulas. Includes the XLSX and source.

Filter members 

Show inherited

## Constructors

`public ExcelChartOptions()` [#](#constructor-ctor)

[ExcelChartOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L6)

## 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 int Row { get; set; }` [#](#property-row)

[ExcelChartOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L6)

Gets or sets the one-based anchor row. Defaults to 1.

`public int Column { get; set; }` [#](#property-column)

[ExcelChartOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L9)

Gets or sets the one-based anchor column. Defaults to 1.

`public bool HasHeaders { get; set; }` [#](#property-hasheaders)

[ExcelChartOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L11)

Gets or sets whether an A1 source includes a header row. Table sources use their native header setting.

`public bool IncludeCachedData { get; set; }` [#](#property-includecacheddata)

[ExcelChartOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L14)

Gets or sets whether a named range or table source stores a snapshot cache. Formulas remain linked either way.

`public ExcelChartData? CachedData { get; set; }` [#](#property-cacheddata)

[ExcelChartOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/bfa7e4cfd577317943a9cfeba9778ffdbbcbff03/OfficeIMO.Excel/ExcelChartOptions.cs#L17)

Gets or sets an explicit cache for a typed native range descriptor. Null preserves a formula-only descriptor.

## Inherited Properties

`public string? Title { get; set; }` [#](#property-title)

Inherited from OfficeChartOptions

`public OfficeLength? Width { get; set; }` [#](#property-width)

Inherited from OfficeChartOptions

`public OfficeLength? Height { get; set; }` [#](#property-height)

Inherited from OfficeChartOptions

<!-- PowerForge markdown artifact sha256:4CF28B28C521D3B7B7254FC6AA14AFCE672D39C4C5EC70BC76BCA3D542C125B3 -->
