settingConfig.js 789 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. padding: [30, 30, 30, 60],
  4. legend: false,
  5. isGroup: true,
  6. data: [],
  7. // 设置面板属性的显隐
  8. displayOption: {
  9. dataAllocation: {
  10. // 是否存在数据配置
  11. enable: false
  12. }
  13. }
  14. }
  15. const customConfig = {
  16. type: 'decoration2Reverse',
  17. root: {
  18. version: '2023071001',
  19. contribution: false,
  20. // 绕x轴旋转角度
  21. rotateX: 0,
  22. // 绕y轴旋转角度
  23. rotateY: 0,
  24. // 绕z轴旋转角度
  25. rotateZ: 0,
  26. // 透视距离
  27. perspective: 0
  28. },
  29. customize: {
  30. decorationColor1: '#3faacb',
  31. decorationColor2: null,
  32. reverse: false,
  33. dur: 3,
  34. scanDur: 3,
  35. haloDur: 2
  36. }
  37. }
  38. export const dataConfig = {
  39. ...commonConfig(customConfig)
  40. }