@antv/g2
Version:
the Grammar of Graphics in Javascript
9 lines (8 loc) • 362 B
TypeScript
import { TransformComponent as TC } from '../runtime';
import { SampleTransform } from '../spec';
export type SampleOptions = Omit<SampleTransform, 'type'>;
/**
* The sample transform groups marks with specified groupBy fields, and
* sample data for each group when data.length >= threshold(default = 2000).
*/
export declare const Sample: TC<SampleOptions>;