index.js 955 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. var Facet = /** @class */ (function (_super) {
  6. __extends(Facet, _super);
  7. function Facet() {
  8. var _this = _super !== null && _super.apply(this, arguments) || this;
  9. /** 图表类型 */
  10. _this.type = 'area';
  11. return _this;
  12. }
  13. /**
  14. * 获取 分面图 默认配置项
  15. * 供外部使用
  16. */
  17. Facet.getDefaultOptions = function () {
  18. return DEFAULT_OPTIONS;
  19. };
  20. /**
  21. * 获取 分面图 默认配置
  22. */
  23. Facet.prototype.getDefaultOptions = function () {
  24. return Facet.getDefaultOptions();
  25. };
  26. /**
  27. * 获取 分面图 的适配器
  28. */
  29. Facet.prototype.getSchemaAdaptor = function () {
  30. return adaptor;
  31. };
  32. return Facet;
  33. }(Plot));
  34. export { Facet };
  35. //# sourceMappingURL=index.js.map