| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- export const titleConfig = {
- /**
- * @description Whether to display title
- * @type {Boolean}
- * @default show = true
- */
- show: true,
- /**
- * @description Title text
- * @type {String}
- * @default text = ''
- */
- text: '',
- /**
- * @description Title offset
- * @type {Array}
- * @default offset = [0, -20]
- */
- offset: [0, -20],
- /**
- * @description Title default style configuration
- * @type {Object}
- * @default style = {Configuration Of Class Style}
- */
- style: {
- fill: '#333',
- fontSize: 17,
- fontWeight: 'bold',
- textAlign: 'center',
- textBaseline: 'bottom'
- },
- /**
- * @description Title render level
- * Priority rendering high level
- * @type {Number}
- * @default rLevel = 20
- */
- rLevel: 20,
- /**
- * @description Title animation curve
- * @type {String}
- * @default animationCurve = 'easeOutCubic'
- */
- animationCurve: 'easeOutCubic',
- /**
- * @description Title animation frame
- * @type {Number}
- * @default animationFrame = 50
- */
- animationFrame: 50
- }
|