index.d.ts 757 B

1234567891011121314151617181920212223242526272829
  1. import { Adaptor } from '../../core/adaptor';
  2. import { Plot } from '../../core/plot';
  3. import { WaterfallOptions } from './types';
  4. export type { WaterfallOptions };
  5. /**
  6. * 瀑布图
  7. */
  8. export declare class Waterfall extends Plot<WaterfallOptions> {
  9. /**
  10. * 获取 瀑布图 默认配置项
  11. * 供外部使用
  12. */
  13. static getDefaultOptions(): Partial<WaterfallOptions>;
  14. /** 图表类型 */
  15. readonly type: string;
  16. /**
  17. * @override
  18. * @param data
  19. */
  20. changeData(data: any): void;
  21. /**
  22. * 获取 瀑布图 的适配器
  23. */
  24. protected getSchemaAdaptor(): Adaptor<WaterfallOptions>;
  25. /**
  26. * 获取 瀑布图 的默认配置
  27. */
  28. protected getDefaultOptions(): Partial<WaterfallOptions>;
  29. }