1、html部分
<div id="productivities" class="em-vs-charts" style="margin-top:10px;">
<div>
<div>
<img style="margin:auto 15px;" src="../assets/venderstatisticsicons/icon_NengHao.png" alt="">
<label style="font-size:21px;font-weight:bold;" for="">能耗分类统计</label>
</div>
<img @click="enlarge('scatter')" src="../assets/venderstatisticsicons/icon_enlarge .png" alt="">
</div>
<!-- 能耗分类统计散点图 -->
<div ref="productivitiesClassify" id="productivitiesClassify"></div>
</div>
2、css部分
.em-vs-enlarge {
z-index: 9;
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
padding: 40px;
background-color: rgba(9, 9, 9