point.d.ts 688 B

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