index.js 1.0 KB

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