3258304b0556177bfc8c0dd025ad93a42a4185b43184f25da782a89f7f06e6cf4b9aca03340760d3fe8dda0b5753f04e3a89f4b7a89450bd6d88f00f01ecf0 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. export const gridConfig = {
  2. /**
  3. * @description Grid left margin
  4. * @type {String|Number}
  5. * @default left = '10%'
  6. * @example left = '10%' | 10
  7. */
  8. left: '10%',
  9. /**
  10. * @description Grid right margin
  11. * @type {String|Number}
  12. * @default right = '10%'
  13. * @example right = '10%' | 10
  14. */
  15. right: '10%',
  16. /**
  17. * @description Grid top margin
  18. * @type {String|Number}
  19. * @default top = 60
  20. * @example top = '10%' | 60
  21. */
  22. top: 60,
  23. /**
  24. * @description Grid bottom margin
  25. * @type {String|Number}
  26. * @default bottom = 60
  27. * @example bottom = '10%' | 60
  28. */
  29. bottom: 60,
  30. /**
  31. * @description Grid default style configuration
  32. * @type {Object}
  33. * @default style = {Configuration Of Class Style}
  34. */
  35. style: {
  36. fill: 'rgba(0, 0, 0, 0)'
  37. },
  38. /**
  39. * @description Grid render level
  40. * Priority rendering high level
  41. * @type {Number}
  42. * @default rLevel = -30
  43. */
  44. rLevel: -30,
  45. /**
  46. * @description Grid animation curve
  47. * @type {String}
  48. * @default animationCurve = 'easeOutCubic'
  49. */
  50. animationCurve: 'easeOutCubic',
  51. /**
  52. * @description Grid animation frame
  53. * @type {Number}
  54. * @default animationFrame = 50
  55. */
  56. animationFrame: 30
  57. }