line.d.ts 737 B

1234567891011121314151617181920212223
  1. import { Params } from '../../core/adaptor';
  2. import { GeometryOptions, MappingOptions } from './base';
  3. export interface LineGeometryOptions extends GeometryOptions {
  4. /** x 轴字段 */
  5. readonly xField?: string;
  6. /** y 轴字段 */
  7. readonly yField?: string;
  8. /** 分组字段 */
  9. readonly seriesField?: string;
  10. /** 是否平滑 */
  11. readonly smooth?: boolean;
  12. /** 是否连接空数据 */
  13. readonly connectNulls?: boolean;
  14. /** line 映射配置 */
  15. readonly line?: MappingOptions;
  16. /** 阶梯折线图类型 */
  17. readonly stepType?: string;
  18. }
  19. /**
  20. * line 辅助点的配置处理
  21. * @param params
  22. */
  23. export declare function line<O extends LineGeometryOptions>(params: Params<O>): Params<O>;