index.js 836 B

123456789101112131415161718192021222324252627282930313233
  1. import { __extends } from "tslib";
  2. import { Plot } from '../../core/plot';
  3. import { adaptor } from './adaptor';
  4. import './interactions';
  5. /**
  6. * 多图层图形,释放 G2 80% 的功能,可以用来做:
  7. * 1. 图层叠加的图:
  8. * - 折线 + 置信度区间迭代
  9. * - 嵌套饼图
  10. * - ...
  11. * 2. 图层划分的图
  12. * - 多维图
  13. * - 柱饼组合图
  14. * - ...
  15. */
  16. var Mix = /** @class */ (function (_super) {
  17. __extends(Mix, _super);
  18. function Mix() {
  19. var _this = _super !== null && _super.apply(this, arguments) || this;
  20. /** 图表类型 */
  21. _this.type = 'mix';
  22. return _this;
  23. }
  24. /**
  25. * 获取适配器
  26. */
  27. Mix.prototype.getSchemaAdaptor = function () {
  28. return adaptor;
  29. };
  30. return Mix;
  31. }(Plot));
  32. export { Mix };
  33. //# sourceMappingURL=index.js.map