settingConfig.js 748 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. time: '',
  4. theme: 'dark',
  5. // 设置面板属性的显隐
  6. displayOption: {
  7. dataAllocation: {
  8. // 是否存在数据配置
  9. enable: false
  10. }
  11. }
  12. }
  13. const customConfig = {
  14. type: 'chartTab',
  15. root: {
  16. version: '2023071001',
  17. // 绕x轴旋转角度
  18. rotateX: 0,
  19. // 绕y轴旋转角度
  20. rotateY: 0,
  21. // 绕z轴旋转角度
  22. rotateZ: 0,
  23. // 透视距离
  24. perspective: 0,
  25. skewX: 0,
  26. skewY: 0
  27. },
  28. customize: {
  29. tabList: [],
  30. fontSize: 14,
  31. fontWeight: 700,
  32. position: 'left',
  33. color: 'rgb(155 159 172)',
  34. lineColor: '#d0d2d6'
  35. }
  36. }
  37. export const dataConfig = {
  38. ...commonConfig(customConfig)
  39. }