# ChartDefinition

Canonical page: https://www.adaptabletools.com/docs/reference/chartdefinition

An AG Grid chart saved in Adaptable State.

Distinguished from  by `Model`. `Name` is unique and is how a layout opens the chart.

```ts title="TypeScript"
export interface ChartDefinition extends AdaptableObject 
```

###### Extends

[`AdaptableObject`](https://www.adaptabletools.com/docs/reference/adaptableobject.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [Model](https://www.adaptabletools.com/docs/reference/chartdefinition.md#model) | `ChartModel` | AG Grid Chart Model |
| [Name](https://www.adaptabletools.com/docs/reference/chartdefinition.md#name) | `string` | Unique name of the chart (used in UI and layout references, like Layout names) |
| [IsReadOnly](https://www.adaptabletools.com/docs/reference/chartdefinition.md#isreadonly) | `boolean` | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;) |

## Property Details

### Model

AG Grid Chart Model

```ts title="TypeScript"
Model: ChartModel;
```

###### Property Value

`ChartModel`

### Name

Unique name of the chart (used in UI and layout references, like Layout names)

```ts title="TypeScript"
Name: string;
```

###### Property Value

`string`

### IsReadOnly

> *Inherited from [AdaptableObject](https://www.adaptabletools.com/docs/reference/adaptableobject.md)*

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;)

```ts title="TypeScript"
IsReadOnly?: boolean;
```

###### Property Value

`boolean`
