@antv/g2
Version:
the Grammar of Graphics in Javascript
25 lines (24 loc) • 754 B
TypeScript
import type { AxisComponent, LegendComponent } from './component';
import type { Composition } from './composition';
import type { Mark } from './mark';
export type G2Spec = (Mark | Composition | AxisComponent | LegendComponent) & {
width?: number;
height?: number;
depth?: number;
autoFit?: boolean;
};
export * from './animate';
export * from './component';
export * from './composition';
export * from './coordinate';
export * from './coordinateTransform';
export * from './data';
export * from './dataTransform';
export * from './encode';
export * from './interaction';
export * from './labelTransform';
export * from './mark';
export * from './scale';
export * from './palette';
export * from './theme';
export * from './transform';