数据看板

This commit is contained in:
lSun 2024-12-23 18:53:43 +08:00
parent 49e79471da
commit 73ac8490cb
1 changed files with 117 additions and 111 deletions

View File

@ -13,10 +13,9 @@
<script> <script>
import * as echarts from 'echarts'; import * as echarts from 'echarts';
export default {
components: {
}, export default {
components: {},
name: 'bottomTwo', name: 'bottomTwo',
props: { props: {
pageData: { pageData: {
@ -82,6 +81,11 @@ export default {
data: this.barYData, data: this.barYData,
itemStyle: { itemStyle: {
color: "#157DF3" color: "#157DF3"
},
label: {
show: true, //
position: 'top', //
formatter: '{c}' //
} }
}] }]
}; };
@ -115,6 +119,7 @@ export default {
background-color: #fff; background-color: #fff;
border-radius: 10px; border-radius: 10px;
} }
.title-box { .title-box {
width: 100%; width: 100%;
height: 30px; height: 30px;
@ -123,6 +128,7 @@ export default {
align-items: center; align-items: center;
} }
.chart-box { .chart-box {
width: 100%; width: 100%;
height: 450px; height: 450px;