               containLabel: true
            },

        };
        myChart.setOption(option);
        myChart.showLoading();
        $.get('http://yehe.37he.cn/api/weekdayline.php')
        .done(function (data) {
            myChart.hideLoading();
            data = JSON.parse(data)
            myChart.setOption(deal_data(data));
        });

    })

    function deal_data(data) {
        var xAxisData = []
        var seriesData = []
        console.log(data)
        data.forEach(function(item,index){
 