22584dc58e7227ec25c2d2a3e1d56c160cee0f5a864e77df96a7dfdb2ff901446eaa5786088702017d3b2af6ba0fc0be584c3c6b39e1997b450539a7c0604b 1.2 KB

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