settingConfig.js 697 B

12345678910111213141516171819202122232425262728293031323334353637
  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: 'decoration9',
  17. root: {
  18. version: '2023071001',
  19. contribution: false
  20. },
  21. customize: {
  22. decorationColor1: null,
  23. decorationColor2: null,
  24. reverse: false,
  25. dur: 3,
  26. scanDur: 3,
  27. haloDur: 2
  28. // title:'66%',
  29. // fontSize: 20,
  30. // fontWeight: 700,
  31. // color: '#36474f'
  32. }
  33. }
  34. export const dataConfig = {
  35. ...commonConfig(customConfig)
  36. }