constants.js 587 B

12345678910111213141516171819202122
  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. columnWidthRatio: 0.6,
  11. marginRatio: 1 / 32,
  12. tooltip: {
  13. shared: true,
  14. showMarkers: false,
  15. offset: 20,
  16. },
  17. legend: {
  18. radio: {},
  19. },
  20. interactions: [{ type: 'active-region' }],
  21. });
  22. //# sourceMappingURL=constants.js.map