NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/data-set/lib/basic-transform/percent.d.ts

10 lines
282 B
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
import { RowData } from '../helper';
export interface PercentOptions {
dimension: string;
field?: string;
method?: 'count' | 'sum';
groupBy?: string | string[];
as?: string;
}
export declare function percent(rows: RowData[], options: PercentOptions): RowData[];