index.d.ts 825 B

12345678910111213141516171819202122232425262728293031
  1. import { Adaptor } from '../../core/adaptor';
  2. import { Plot } from '../../core/plot';
  3. import './shapes/liquid';
  4. import { LiquidOptions } from './types';
  5. export { addWaterWave } from './shapes/liquid';
  6. export type { LiquidOptions };
  7. /**
  8. * 传说中的水波图
  9. */
  10. export declare class Liquid extends Plot<LiquidOptions> {
  11. /**
  12. * 获取 饼图 默认配置项
  13. * 供外部使用
  14. */
  15. static getDefaultOptions(): Partial<LiquidOptions>;
  16. /** 图表类型 */
  17. type: string;
  18. /**
  19. * 获取 水波图 默认配置项, 供 base 获取
  20. */
  21. protected getDefaultOptions(): Partial<LiquidOptions>;
  22. /**
  23. * 更新数据
  24. * @param percent
  25. */
  26. changeData(percent: number): void;
  27. /**
  28. * 获取适配器
  29. */
  30. protected getSchemaAdaptor(): Adaptor<LiquidOptions>;
  31. }