# GridChartModel

Fields, allowed values, and APIs that use GridChartModel.

Canonical: https://grid.syidax.com/docs/types/GridChartModel/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export interface GridChartModel {
  readonly chartKey: string;
  readonly chartType: SyChartConcreteType;
  readonly source: GridChartModelSource;
  readonly container: GridChartContainerRequest;
  readonly properties: GridChartProperties;
  readonly pivot: GridChartPivotSelectionState | null;
}
```

<a id="parents"></a>

## Contracts containing this type

- [GridChartModelEnvelope](https://grid.syidax.com/docs/types/GridChartModelEnvelope.md)
- [GridChartModelRestoreEntry](https://grid.syidax.com/docs/types/GridChartModelRestoreEntry.md)

<a id="related"></a>

## Related types

- [SyChartConcreteType](https://grid.syidax.com/docs/types/SyChartConcreteType.md)
- [GridChartModelSource](https://grid.syidax.com/docs/types/GridChartModelSource.md)
- [GridChartContainerRequest](https://grid.syidax.com/docs/types/GridChartContainerRequest.md)
- [GridChartProperties](https://grid.syidax.com/docs/types/GridChartProperties.md)
- [GridChartPivotSelectionState](https://grid.syidax.com/docs/types/GridChartPivotSelectionState.md)
