constant.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.DEFAULT_OPTIONS = exports.IS_TOTAL = exports.ABSOLUTE_FIELD = exports.DIFF_FIELD = exports.Y_FIELD = void 0;
  4. exports.Y_FIELD = '$$yField$$';
  5. exports.DIFF_FIELD = '$$diffField$$';
  6. exports.ABSOLUTE_FIELD = '$$absoluteField$$';
  7. exports.IS_TOTAL = '$$isTotal$$';
  8. /**
  9. * 瀑布图 默认配置项
  10. */
  11. exports.DEFAULT_OPTIONS = {
  12. /** default: show label */
  13. label: {},
  14. /** default: show leaderLine */
  15. leaderLine: {
  16. style: {
  17. lineWidth: 1,
  18. stroke: '#8c8c8c',
  19. lineDash: [4, 2],
  20. },
  21. },
  22. /** default: show total */
  23. total: {
  24. style: {
  25. fill: 'rgba(0, 0, 0, 0.25)',
  26. },
  27. },
  28. interactions: [{ type: 'element-active' }],
  29. risingFill: '#f4664a',
  30. fallingFill: '#30bf78',
  31. waterfallStyle: {
  32. fill: 'rgba(0, 0, 0, 0.25)',
  33. },
  34. yAxis: {
  35. grid: {
  36. line: {
  37. style: {
  38. lineDash: [4, 2],
  39. },
  40. },
  41. },
  42. },
  43. };
  44. //# sourceMappingURL=constant.js.map