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