# GridChartTypeVerdict

Fields, allowed values, and APIs that use GridChartTypeVerdict.

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

<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 type GridChartTypeVerdict =
  | {
    readonly status: 'supported';
    readonly chartType: SyChartConcreteType;
    readonly projection: GridChartProjectionKind;
  }
  | {
    readonly status: 'refused';
    readonly chartType: SyChartConcreteType;
    readonly reason: Exclude<GridChartTypeRefusalReason, 'unknown-chart-type'>;
  }
  | {
    readonly status: 'unknown';
    readonly requestedType: string;
    readonly reason: 'unknown-chart-type';
  };
```

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

## Contracts containing this type

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

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

## Related types

- [SyChartConcreteType](https://grid.syidax.com/docs/types/SyChartConcreteType.md)
- [GridChartProjectionKind](https://grid.syidax.com/docs/types/GridChartProjectionKind.md)
- [GridChartTypeRefusalReason](https://grid.syidax.com/docs/types/GridChartTypeRefusalReason.md)
