UNPKG

@antv/g2plot

Version:

An interactive and responsive charting library

18 lines (17 loc) 555 B
import { Params } from '../../core/adaptor'; import { GeometryOptions, MappingOptions } from './base'; export interface SchemaGeometryOptions extends GeometryOptions { /** x 轴字段 */ readonly xField?: string; /** y 轴字段 */ readonly yField?: string; /** 分组字段 */ readonly seriesField?: string; /** point 图形映射规则 */ readonly schema?: MappingOptions; } /** * schema 的配置处理 * @param params */ export declare function schema<O extends SchemaGeometryOptions>(params: Params<O>): Params<O>;