polygon.d.ts 560 B

1234567891011121314151617
  1. import { Params } from '../../core/adaptor';
  2. import { GeometryOptions, MappingOptions } from './base';
  3. export interface PolygonGeometryOptions extends GeometryOptions {
  4. /** x 轴字段 */
  5. readonly xField?: string;
  6. /** y 轴字段 */
  7. readonly yField?: string;
  8. /** 分组字段 */
  9. readonly seriesField?: string;
  10. /** point 图形映射规则 */
  11. readonly polygon?: MappingOptions;
  12. }
  13. /**
  14. * polygon 的配置处理
  15. * @param params
  16. */
  17. export declare function polygon<O extends PolygonGeometryOptions>(params: Params<O>): Params<O>;