index.js 1.1 KB

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