UNPKG

383 BTypeScriptView Raw
1import { TransformComponent as TC, G2Mark } from '../runtime';
2import { GroupTransform } from '../spec';
3export type GroupNOptions = Omit<GroupTransform & {
4 groupBy?: (I: number[], mark: G2Mark, options?: Record<string, any>) => number[][];
5}, 'type'>;
6/**
7 * The Group transform group data by x and y channels, and aggregate.
8 */
9export declare const GroupN: TC<GroupNOptions>;