var width = $("威胁类型ID").width();
var height = $("威胁类型ID").height();
var height = $("威胁类型ID").height();
$("#威胁来源ID").css("width", width).css("height", height);
var echart_threatDetail = echarts.init(document.getElementById("威胁来源ID"));