# drillChartPoint (@salmonui/pivot-table)

> The drillChartPoint function of @salmonui/pivot-table: Chart point click → pivot: 'auto' expands the category member when it can expand, else opens drill through for the point's cell; 'collapse' collapses the category's parent (drill up).

Canonical: https://salmonui.dev/docs/reference/pivot-table/drillChartPoint

```ts
import { drillChartPoint } from '@salmonui/pivot-table';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table.md).

## Reference

Kind: function

```ts
function drillChartPoint<Row>(pivot: PivotController<Row>, chart: PivotChartData, seriesId: string, index: number, mode?: PivotChartDrillMode): boolean;
```

Chart point click → pivot: `'auto'` expands the category
member when it can expand, else opens drill through for the point's cell;
`'collapse'` collapses the category's parent (drill up).
