export let line = {
  color: '#409EFF',
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
     axisTick:{
       alignWithLabel: true
     }
  },
  yAxis: {
    type: 'value'
  },
  tooltip:{
    trigger: 'axis',
    axisPointer:{
      type: 'cross'
    },
    valueFormatter: (value) => value + '人'
  },
  series: [
    {
      data: [150, 230, 224, 218, 135, 147, 260],
      type: 'line',
      label:{
        show: true
      }
    }
  ]
};

export let bar = {
  color: '#409EFF',
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    axisTick: {
      alignWithLabel: true
    }
  },
  tooltip:{
    trigger: 'axis',
    axisPointer:{
      type: 'shadow'
    },
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [120, 200, 150, 80, 70, 110, 130],
      type: 'bar',
      label:{
        show: true,
        position: 'top'
      }
    }
  ]
};
