@antv/g2
Version:
the Grammar of Graphics in Javascript
13 lines (12 loc) • 343 B
TypeScript
import { TransformComponent as TC } from '../runtime';
import { BinTransform } from '../spec';
export type BinOptions = Omit<BinTransform, 'type'> & {
groupChannels?: string[];
binChannels?: string[];
};
/**
* The Bin aggregate data.
* @todo More threshold method.
* @todo Performance.
*/
export declare const Bin: TC<BinOptions>;