constant.js 944 B

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