UNPKG

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