export default {
  tooltip: {
    trigger: 'axis',
    position: function (point, params, dom, rect, size) {
      return [point[1], 0]
    }
  },
  legend: {
    data: ['男', '女']
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: {
    type: 'value'
  },
  yAxis: {
    type: 'category',
    offset: 20,
    data: ['0-3次', '4-9次', '10-19次', '20-49次', '50-99次']
  },
  series: [
    {
      name: '男',
      type: 'bar',
      stack: '总量',
      label: {
        normal: {
          show: true,
          position: 'insideRight'
        }
      },
      data: []
    }
  ]
}
