constants.js 636 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.DEFAULT_OPTIONS = void 0;
  4. var plot_1 = require("../../core/plot");
  5. var utils_1 = require("../../utils");
  6. /**
  7. * 面积图默认配置项
  8. */
  9. exports.DEFAULT_OPTIONS = (0, utils_1.deepAssign)({}, plot_1.Plot.getDefaultOptions(), {
  10. tooltip: {
  11. shared: true,
  12. showMarkers: true,
  13. showCrosshairs: true,
  14. crosshairs: {
  15. type: 'x',
  16. },
  17. },
  18. isStack: true,
  19. // 默认开启
  20. line: {},
  21. legend: {
  22. position: 'top-left',
  23. radio: {},
  24. },
  25. });
  26. //# sourceMappingURL=constants.js.map