src/components/echart16.vue
@@ -24,6 +24,7 @@ let option = { title: { text: '数据总量趋势', top:15, textStyle: { color: '#fff', }, @@ -38,7 +39,12 @@ }, }, legend: { right:0, top:30, data: ['增量', '总量'], textStyle: { color: '#fff', }, }, toolbox: { feature: { @@ -135,11 +141,12 @@ <style lang="less" scoped> //@import url(); 引入公共css类 .echart4_box { padding: 20px; // background: rgba(0, 0, 0, 0.6); } #echart4 { padding: 20px; width: 100%; height: 100%; } #echart4 { width: calc(100% - 40px); height: calc(100% - 40px); } </style>