settingConfig.js 581 B

1234567891011121314151617181920212223242526272829303132
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. padding: [30, 30, 30, 60],
  4. legend: false,
  5. isGroup: true,
  6. data: [],
  7. // 设置面板属性的显隐
  8. displayOption: {
  9. dataAllocation: {
  10. // 是否存在数据配置
  11. enable: false
  12. }
  13. }
  14. }
  15. const customConfig = {
  16. type: 'decoration6',
  17. root: {
  18. contribution: false
  19. },
  20. customize: {
  21. decorationColor1: null,
  22. decorationColor2: null,
  23. reverse: false,
  24. dur: 3,
  25. scanDur: 3,
  26. haloDur: 2
  27. }
  28. }
  29. export const dataConfig = {
  30. ...commonConfig(customConfig)
  31. }