@antv/g2
Version: 
the Grammar of Graphics in Javascript
9 lines (8 loc) • 348 B
TypeScript
import { DataComponent as DC } from '../runtime';
import { SliceTransform } from '../spec';
export type SliceOptions = Omit<SliceTransform, 'type'>;
/**
 * Slice data between `start` ~ `end`.
 * Same with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
 */
export declare const Slice: DC<SliceOptions>;