settingConfig.js 722 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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: 500
  25. },
  26. customize: {
  27. tabList: [],
  28. fontSize: 14,
  29. fontWeight: 700,
  30. position: 'left',
  31. color: 'rgb(155 159 172)',
  32. lineColor: '#d0d2d6'
  33. }
  34. }
  35. export const dataConfig = {
  36. ...commonConfig(customConfig)
  37. }