UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

12 lines (8 loc) 377 B
import { Sequential as SequentialScale } from '@antv/scale'; import { ScaleComponent as SC } from '../runtime'; import { SequentialScale as SequentialScaleSpec } from '../spec'; export type SequentialOptions = Omit<SequentialScaleSpec, 'type'>; export const Sequential: SC<SequentialOptions> = (options) => { return new SequentialScale(options); }; Sequential.props = {};