settingConfig.js 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. skewX: 0,
  24. skewY: 0
  25. },
  26. customize: {
  27. // 边框线颜色
  28. borderColor: 'rgba(131, 191, 246, 0)',
  29. // 边框线宽度
  30. borderWidth: 1,
  31. // 边框背景颜色
  32. backgroundColor: '#007aff',
  33. colorType: 'single',
  34. // 渐变色0值
  35. gradientColor0: '#83bff6',
  36. // 渐变色1值
  37. gradientColor1: '#188df0',
  38. // 渐变色色值改变方向
  39. gradientDirection: 'to right',
  40. // 透明度
  41. opacity: 100,
  42. // 宽度
  43. width: 4
  44. }
  45. }
  46. export const dataConfig = {
  47. ...commonConfig(customConfig)
  48. }