深色模式: 创建chart实例的时候指定dark var myChart = echarts.init(document.getElementById('myChart'), 'dark'); 图表背景透明: var optionTemp = { backgroundColor:'', //设置无背景色 }