groupN.d.ts 383 B

123456789
  1. import { TransformComponent as TC, G2Mark } from '../runtime';
  2. import { GroupTransform } from '../spec';
  3. export 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. */
  9. export declare const GroupN: TC<GroupNOptions>;