View as Markdown

API reference: @salmonui/pivot-table

drillChartPointfunction

import { drillChartPoint } from '@salmonui/pivot-table';
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).