# GridChartMenuSelectionShape

Fields, allowed values, and APIs that use GridChartMenuSelectionShape.

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

<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 GridChartMenuSelectionShape {
  readonly origin: 'range' | 'pivot';
  readonly rowCount: number;
  readonly columns: readonly GridChartMenuColumn[];
  readonly categoryCandidates: readonly string[];
  readonly numericColumns: readonly string[];
  readonly electedCategoryColId: string | null;
}
```

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

## Contracts containing this type

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

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

## Related types

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