@jiaminghi/charts
Version:
Lightweight charting
57 lines • 1.22 kB
JavaScript
export const gridConfig = {
/**
* @description Grid left margin
* @type {String|Number}
* @default left = '10%'
* @example left = '10%' | 10
*/
left: '10%',
/**
* @description Grid right margin
* @type {String|Number}
* @default right = '10%'
* @example right = '10%' | 10
*/
right: '10%',
/**
* @description Grid top margin
* @type {String|Number}
* @default top = 60
* @example top = '10%' | 60
*/
top: 60,
/**
* @description Grid bottom margin
* @type {String|Number}
* @default bottom = 60
* @example bottom = '10%' | 60
*/
bottom: 60,
/**
* @description Grid default style configuration
* @type {Object}
* @default style = {Configuration Of Class Style}
*/
style: {
fill: 'rgba(0, 0, 0, 0)'
},
/**
* @description Grid render level
* Priority rendering high level
* @type {Number}
* @default rLevel = -30
*/
rLevel: -30,
/**
* @description Grid animation curve
* @type {String}
* @default animationCurve = 'easeOutCubic'
*/
animationCurve: 'easeOutCubic',
/**
* @description Grid animation frame
* @type {Number}
* @default animationFrame = 50
*/
animationFrame: 30
}