index.d.ts 649 B

12345678910111213141516171819202122
  1. import { Adaptor } from '../../core/adaptor';
  2. import { Plot } from '../../core/plot';
  3. import { BulletOptions } from './types';
  4. export type { BulletOptions };
  5. export declare class Bullet extends Plot<BulletOptions> {
  6. /**
  7. * 获取 子弹图 默认配置项
  8. * 供外部使用
  9. */
  10. static getDefaultOptions(): Partial<BulletOptions>;
  11. /** 图表类型 */
  12. type: string;
  13. changeData(data: any): void;
  14. /**
  15. * 获取子弹图的适配器
  16. */
  17. protected getSchemaAdaptor(): Adaptor<BulletOptions>;
  18. /**
  19. * 获取 子弹图 默认配置
  20. */
  21. protected getDefaultOptions(): Partial<BulletOptions>;
  22. }