constant.js 755 B

1234567891011121314151617181920212223242526272829303132333435
  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. layout: 'horizontal',
  11. size: {
  12. range: 30,
  13. measure: 20,
  14. target: 20,
  15. },
  16. xAxis: {
  17. tickLine: false,
  18. line: null,
  19. },
  20. bulletStyle: {
  21. range: {
  22. fillOpacity: 0.5,
  23. },
  24. },
  25. label: {
  26. measure: {
  27. position: 'right',
  28. },
  29. },
  30. tooltip: {
  31. // 默认关闭
  32. showMarkers: false,
  33. },
  34. });
  35. //# sourceMappingURL=constant.js.map