be82c8b41ebf1c73a744ea8df568d364dd4fad95bb96d231b430b388f53b7ca84a9918dc7a6b9f9db5eddaad1778d15336e590ae6ce4a68be704219a67bf44 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. export const titleConfig = {
  2. /**
  3. * @description Whether to display title
  4. * @type {Boolean}
  5. * @default show = true
  6. */
  7. show: true,
  8. /**
  9. * @description Title text
  10. * @type {String}
  11. * @default text = ''
  12. */
  13. text: '',
  14. /**
  15. * @description Title offset
  16. * @type {Array}
  17. * @default offset = [0, -20]
  18. */
  19. offset: [0, -20],
  20. /**
  21. * @description Title default style configuration
  22. * @type {Object}
  23. * @default style = {Configuration Of Class Style}
  24. */
  25. style: {
  26. fill: '#333',
  27. fontSize: 17,
  28. fontWeight: 'bold',
  29. textAlign: 'center',
  30. textBaseline: 'bottom'
  31. },
  32. /**
  33. * @description Title render level
  34. * Priority rendering high level
  35. * @type {Number}
  36. * @default rLevel = 20
  37. */
  38. rLevel: 20,
  39. /**
  40. * @description Title animation curve
  41. * @type {String}
  42. * @default animationCurve = 'easeOutCubic'
  43. */
  44. animationCurve: 'easeOutCubic',
  45. /**
  46. * @description Title animation frame
  47. * @type {Number}
  48. * @default animationFrame = 50
  49. */
  50. animationFrame: 50
  51. }