constant.js 979 B

1234567891011121314151617181920212223242526272829
  1. "use strict";
  2. var _a;
  3. Object.defineProperty(exports, "__esModule", { value: true });
  4. exports.DEFAULT_OPTIONS = exports.OUTLIERS_VIEW_ID = exports.BOX_SYNC_NAME = exports.BOX_RANGE_ALIAS = exports.BOX_RANGE = void 0;
  5. var plot_1 = require("../../core/plot");
  6. var utils_1 = require("../../utils");
  7. exports.BOX_RANGE = '$$range$$';
  8. exports.BOX_RANGE_ALIAS = 'low-q1-median-q3-high';
  9. exports.BOX_SYNC_NAME = '$$y_outliers$$';
  10. exports.OUTLIERS_VIEW_ID = 'outliers_view';
  11. /**
  12. * 面积图默认配置项
  13. */
  14. exports.DEFAULT_OPTIONS = (0, utils_1.deepAssign)({}, plot_1.Plot.getDefaultOptions(), {
  15. meta: (_a = {},
  16. _a[exports.BOX_RANGE] = { min: 0, alias: exports.BOX_RANGE_ALIAS },
  17. _a),
  18. // 默认区域交互
  19. interactions: [{ type: 'active-region' }],
  20. // 默认 tooltips 共享,不显示 markers
  21. tooltip: {
  22. showMarkers: false,
  23. shared: true,
  24. },
  25. boxStyle: {
  26. lineWidth: 1,
  27. },
  28. });
  29. //# sourceMappingURL=constant.js.map