settingConfig.js 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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: 'border6',
  21. root: {
  22. version: '2023071001',
  23. contribution: false
  24. },
  25. customize: {
  26. // 边框主要颜色
  27. borderMainColor: '#83bff6',
  28. // 边框次要颜色
  29. borderSecondaryColor: '#00CED1',
  30. colorType: 'single',
  31. // 渐变色0值
  32. gradientColor0: '#83bff6',
  33. // 渐变色1值
  34. gradientColor1: '#188df0',
  35. // 渐变色色值改变方向
  36. gradientDirection: 'to right',
  37. // 透明度
  38. opacity: 100,
  39. // 边框背景颜色
  40. backgroundColor: ''
  41. }
  42. }
  43. export const dataConfig = {
  44. ...commonConfig(customConfig)
  45. }