grid

grid是配合坐标系工作的,通过配置它,你可以设置坐标系的宽高大小。

left

  1. /**
  2. * @description 网格左边距
  3. * @type {String|Number}
  4. * @default left = '10%'
  5. * @example left = '10%' | 10
  6. */

right

  1. /**
  2. * @description 网格右边距
  3. * @type {String|Number}
  4. * @default right = '10%'
  5. * @example right = '10%' | 10
  6. */

top

  1. /**
  2. * @description 网格上边距
  3. * @type {String|Number}
  4. * @default top = 60
  5. * @example top = '10%' | 60
  6. */

bottom

  1. /**
  2. * @description 网格下边距
  3. * @type {String|Number}
  4. * @default bottom = 60
  5. * @example bottom = '10%' | 60
  6. */

style

  1. /**
  2. * @description 网格默认样式
  3. * @type {Object}
  4. * @default style = {Configuration Of Class Style}
  5. */
  6. style: {
  7. fill: 'rgba(0, 0, 0, 0)'
  8. }

rLevel

  1. /**
  2. * @description 柱状图渲染级别
  3. * 级别高者优先渲染
  4. * @type {Number}
  5. * @default rLevel = -30
  6. */

animationCurve

  1. /**
  2. * @description 网格缓动曲线
  3. * @type {String}
  4. * @default animationCurve = 'easeOutCubic'
  5. */

animationFrame

  1. /**
  2. * @description 网格缓动效果帧数
  3. * @type {Number}
  4. * @default animationFrame = 50
  5. */