Bootstrap

echarts 一个dom重复生成图表

清空之前的图表

    var myChart = null;
    document.getElementById(name).innerHTML = "";
    document.getElementById(name).removeAttribute("_echarts_instance_"
;