settingConfig.js 730 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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: 'https://www.runoob.com/',
  21. // 绕x轴旋转角度
  22. rotateX: 0,
  23. // 绕y轴旋转角度
  24. rotateY: 0,
  25. // 绕z轴旋转角度
  26. rotateZ: 0,
  27. // 透视距离
  28. perspective: 500
  29. },
  30. customize: {
  31. fontSize: 20,
  32. fontWeight: 700,
  33. color: '#36474f'
  34. }
  35. }
  36. export const dataConfig = {
  37. ...commonConfig(customConfig)
  38. }