index.js 914 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { __extends } from "tslib";
  2. import { Plot } from '../../core/plot';
  3. import { adaptor } from './adaptor';
  4. import { DEFAULT_OPTIONS } from './constant';
  5. /**
  6. * 弦图 Chord
  7. */
  8. var Chord = /** @class */ (function (_super) {
  9. __extends(Chord, _super);
  10. function Chord() {
  11. var _this = _super !== null && _super.apply(this, arguments) || this;
  12. /** 图表类型 */
  13. _this.type = 'chord';
  14. return _this;
  15. }
  16. /**
  17. * 获取 面积图 默认配置项
  18. * 供外部使用
  19. */
  20. Chord.getDefaultOptions = function () {
  21. return DEFAULT_OPTIONS;
  22. };
  23. Chord.prototype.getDefaultOptions = function () {
  24. return Chord.getDefaultOptions();
  25. };
  26. /**
  27. * 获取适配器
  28. */
  29. Chord.prototype.getSchemaAdaptor = function () {
  30. return adaptor;
  31. };
  32. return Chord;
  33. }(Plot));
  34. export { Chord };
  35. //# sourceMappingURL=index.js.map