settingConfig.js 886 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. // displayOption: {
  8. // color: '',
  9. // backgroundColor: ''
  10. // }
  11. // 设置面板属性的显隐
  12. displayOption: {
  13. dataAllocation: {
  14. // 是否存在数据配置
  15. enable: false
  16. }
  17. }
  18. }
  19. const customConfig = {
  20. type: 'border1',
  21. root: {
  22. version: '2023071001',
  23. contribution: false
  24. },
  25. customize: {
  26. borderMainColor: '#83bff6',
  27. borderSecondaryColor: '#00CED1',
  28. backgroundColor: '',
  29. colorType: 'single',
  30. // 渐变色0值
  31. gradientColor0: '#83bff6',
  32. // 渐变色1值
  33. gradientColor1: '#188df0',
  34. // 渐变色色值改变方向
  35. gradientDirection: 'to right',
  36. // 透明度
  37. opacity: 100
  38. }
  39. }
  40. export const dataConfig = {
  41. ...commonConfig(customConfig)
  42. }