index.d.ts 893 B

12345678910111213141516171819202122232425262728
  1. import { Adaptor } from '../../core/adaptor';
  2. import { Plot } from '../../core/plot';
  3. import './interactions';
  4. import { SunburstOptions } from './types';
  5. export type { SunburstOptions };
  6. export declare class Sunburst extends Plot<SunburstOptions> {
  7. /**
  8. * 获取 旭日图 默认配置项
  9. * 供外部使用
  10. */
  11. static getDefaultOptions(): Partial<SunburstOptions>;
  12. /** 旭日图 节点的祖先节点 */
  13. static SUNBURST_ANCESTOR_FIELD: string;
  14. /** 旭日图 节点的路径 */
  15. static SUNBURST_PATH_FIELD: string;
  16. /** 节点的祖先节点 */
  17. static NODE_ANCESTORS_FIELD: string;
  18. /** 图表类型 */
  19. type: string;
  20. /**
  21. * 获取 旭日图 默认配置
  22. */
  23. protected getDefaultOptions(): Partial<SunburstOptions>;
  24. /**
  25. * 获取旭日图的适配器
  26. */
  27. protected getSchemaAdaptor(): Adaptor<SunburstOptions>;
  28. }