settingConfig.js 758 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * @description: 外链配置
  3. * @Date: 2022-09-01 15:26:34
  4. * @Author: xingheng
  5. */
  6. import { commonConfig } from '../../js/config'
  7. export const settingConfig = {
  8. theme: 'dark',
  9. displayOption: {
  10. dataAllocation: {
  11. // 是否存在数据配置
  12. enable: false
  13. }
  14. }
  15. }
  16. const customConfig = {
  17. type: 'iframeChart',
  18. root: {
  19. version: '2023071001',
  20. url: 'http://gcpaas.gccloud.com',
  21. // 绕x轴旋转角度
  22. rotateX: 0,
  23. // 绕y轴旋转角度
  24. rotateY: 0,
  25. // 绕z轴旋转角度
  26. rotateZ: 0,
  27. // 透视距离
  28. perspective: 0,
  29. skewX: 0,
  30. skewY: 0
  31. },
  32. customize: {
  33. fontSize: 20,
  34. fontWeight: 700,
  35. color: '#36474f'
  36. }
  37. }
  38. export const dataConfig = {
  39. ...commonConfig(customConfig)
  40. }