settingConfig.js 987 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. // 设置面板属性的显隐
  4. displayOption: {
  5. dataAllocation: {
  6. // 是否存在数据配置
  7. enable: false
  8. }
  9. }
  10. }
  11. const customConfig = {
  12. type: 'verticalLine',
  13. root: {
  14. version: '2023071001',
  15. // 绕x轴旋转角度
  16. rotateX: 0,
  17. // 绕y轴旋转角度
  18. rotateY: 0,
  19. // 绕z轴旋转角度
  20. rotateZ: 0,
  21. // 透视距离
  22. perspective: 0
  23. },
  24. customize: {
  25. // 边框线颜色
  26. borderColor: 'rgba(131, 191, 246, 0)',
  27. // 边框线宽度
  28. borderWidth: 1,
  29. // 边框背景颜色
  30. backgroundColor: '#007aff',
  31. colorType: 'single',
  32. // 渐变色0值
  33. gradientColor0: '#83bff6',
  34. // 渐变色1值
  35. gradientColor1: '#188df0',
  36. // 渐变色色值改变方向
  37. gradientDirection: 'to right',
  38. // 透明度
  39. opacity: 100,
  40. // 宽度
  41. width: 4
  42. }
  43. }
  44. export const dataConfig = {
  45. ...commonConfig(customConfig)
  46. }