{
  "title": {
    "show": true,
    "text": "某站点用户访问来源",
    "left": "left",
    "padding": [5,20,5,20],
    "textStyle": {
      "fontSize": 18,
      "fontWeight": "bolder",
      "color": "#c23531"
    }
  },
  "legend": {
    "show": true,
    "data": ["直接访问","邮件营销", "联盟广告"],
    "top": "top",
    "left": "center",
    "orient": "horizontal",
    "padding":[25,20,25,10],
    "textStyle": {
      "color":  "#333",
      "fontSize": 12
    }
  },
  "grid": {
    "left": 60,
    "top": 60,
    "right": 60,
    "bottom": 60
  },
  "tooltip": {
    "show":true,
    "trigger":"axis",
    "axisPointer": {
      "type": "shadow"
    },
    "textStyle":{
      "color":"#fff",
      "fontSize": 18
    }
  },
  "xAxis": {
    "show":true,
    "type ": "value",
    "splitLine":{
      "show":false,
      "lineStyle":{
        "color":"red",
        "width":1,
        "type":"solid"
      }
    },
    "axisLabel":{
      "textStyle":{
        "fontSize":12,
        "color": "#333"
      }
    },
    "axisLine": {
      "lineStyle": {
        "color": "#333"
      }
    }
  },
  "yAxis": {
    "show":true,
    "type": "category",
    "splitLine":{
      "show":false,
      "lineStyle":{
        "color":"red",
        "width":1,
        "type":"solid"
      }
    },
    "axisLabel":{
      "interval":"auto",
      "rotate":0,
      "textStyle":{
        "fontSize":12,
        "color": "#333"
      }
    },
    "axisLine": {
      "lineStyle": {
        "color": "#333"
      }
    },
    "data": ["周一", "周二", "周三", "周四", "周五"]
  },
  "series": [{
    "name": "直接访问",
    "type": "bar",
    "stack":"总量",
    "data": [320, 332, 301, 334, 390],
    "barWidth": 15,
    "barMinHeight": 2,
    "itemStyle": {
      "barBorderRadius":0,
      "color":""
    }
  },{
    "name": "邮件营销",
    "type": "bar",
    "stack":"总量",
    "data": [120, 132, 101, 134, 90],
    "barWidth": 15,
    "barMinHeight": 2,
    "itemStyle": {
      "barBorderRadius":0,
      "color":""
    }
  },{
    "name": "联盟广告",
    "type": "bar",
    "stack":"总量",
    "data": [220, 182, 191, 234, 290],
    "barWidth": 15,
    "barMinHeight": 2,
    "itemStyle": {
      "barBorderRadius":0,
      "color":""
    }
  }]
}