# GridChartExportSpec

Fields, allowed values, and APIs that use GridChartExportSpec.

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

<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 GridChartExportSpec {
  readonly format: GridChartExportFormat;
  readonly mimeType: string;
  readonly filename: string;
  readonly width: number;
  readonly height: number;
  readonly scale: number;
  readonly pixelWidth: number;
  readonly pixelHeight: number;
  readonly background: string | null;
  readonly backgroundSource: 'request' | 'theme' | 'default' | 'transparent';
  readonly clamped: readonly ('width' | 'height' | 'scale')[];
}
```

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

## Contracts containing this type

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

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

## Related types

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