tooltip: {
position: (point, params, dom, rect, size) => {
var html ='<div class="c1" style="height:150px; 400px;"></div>';
$(dom).html(html);
var arr = Array.from(document.querySelectorAll(".c1"));
var charArr = arr.map(item => echarts.init(item));
var option1 = { };
// 渲染图表
charArr.forEach(item => item.setOption(option1));
}
}